web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Every User search only his Email Template PlugIn

(0) ShareShare
ReportReport
Posted on by

how to write PlugIn to restrict on the  Email Templates this mean every user See or search find only his email templates

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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:

    carldesouza.com/.../

    muralikrishnasabbavarapublog.wordpress.com/.../

  • Verified answer
    LuHao Profile Picture
    40,892 on at

    Hi Mohamad,

    First, set the Read permission of the Email Template of the security role ofs all users to the User level.

    pastedimage1600434531009v2.png

    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.

    pastedimage1600433516608v1.png

    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.

    pastedimage1600436554833v3.png

    Then the email template can only be accessed by the owner.

  • Community Member Profile Picture
    on at

    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

  • Community Member Profile Picture
    on at

    your Ansower is usefull when i don't have Teams, so this mean every team must see only his templates

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 101

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans