Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

What to use to generate a permission error if a user that is not part of the Compliance Team closes a specific task that has a specific Subject.

(0) ShareShare
ReportReport
Posted on by 84

Hello Community, 

I'm struggling to identify what to use for the following scenario:

Only Users that are part of the Compliance Team can close Tasks with the Subject ''XX''. If a Non-Compliance user Closes the XX Task, an error should pop up not allowing the user to close this task. 

Any thoughts?

thank you!

  • Suggested answer
    Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: What to use to generate a permission error if a user that is not part of the Compliance Team closes a specific task that has a specific Subject.

    Hi lkay,

    You can use ribbon workbench to customize buttons to show or hide them depending on the user's security role.

    Develop 1 Ltd | Ribbon Workbench for Dynamics 365 & Dynamics CRM

    1.Import the downloaded file as a solution

    2.Create a solution with only the task table (without any data)

    3.Open the solution in the advanced settings, Click the ribbon workbench button to open the solution you just created

    4.Customize the button by referring to the actions in the link: https://d365demystified.com/2021/02/14/show-custom-ribbon-button-based-on-security-role-of-the-logged-in-user-in-dynamics-365-ribbon-workbench-in-xrmtoolbox/

    pastedimage1679038177675v1.png

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans