how to write PlugIn to restrict on the Email Templates this mean every user See or search find only his email templates
your Ansower is usefull when i don't have Teams, so this mean every team must see only his templates
thank you, i have decided to write a PlugIn for it, but the link is not so useful because there is not complete Example, it would be very helpful when command down a good link, thank you
Hi Mohamad,
First, set the Read permission of the Email Template of the security role ofs all users to the User level.
The email templates in D365 are divided into organization templates and personal templates.
Administrators can see all the templates in Settings > Templates > Email Templates. Here it will show whether each template is organized or independent.
1. For OOTB templates, all users can access them, so the accessibility of OOTB email templates cannot be modified. We can only delete them so that users cannot access them.
2. For personal templates, we have set the Read permission of each user's email template to the user level, so personal templates can only be seen by their owners.
3. For new organization templates, all users can also access them.
If we want to make organizational templates only visible to the owner, then we need to convert them into personal templates.
Edit the organizational template, click Actions > Revert to Personal Template.
Then the email template can only be accessed by the owner.
Hello,
Generally speaking that should be the plugin that handles RetrieveMultiple message of 'template' entity and change Query that is used. Here are few examples you can check:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156