Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Every User search only his Email Template PlugIn

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Every User search only his Email Template PlugIn

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Every User search only his Email Template PlugIn

    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

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Every User search only his Email Template PlugIn

    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.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: Every User search only his Email Template PlugIn

    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/.../

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans