For every user we have a separate agreement need to be generated [ all agreements are different].
My Requirement is I need to show the “PDF Templates” which are assigned to particular user. – Right now its showing all PDF Templates to everyone
When the user clicks on “Print as PDF” he should see only the assigned PDF Templates.
I am getting a pop up as select template – but right now displaying all templates – it should display only the templates which are assigned to the user.
Im new to CRM .
Let me know how to achieve through code or any alternative solutions.
I had the same problem and I solved it by creating security groups and when I create the templates, I assign them to the user who should see them, so modify the functions to see only the group information.
This is the code that filters the SugarFeed dashlet by the user’s SecurityGroups.
It’s many lines of code. Could be added to “Select a Template” by refactor and have all of these views run one copy of the same SecurityGroups filter code.