Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

ribbonworkbench - recordprivilegerule

Posted on by 360

so... for a subgrid ribbon, entityprivilegerule can be applied to selectedentity to see if the user has entity level privilege.

But how come we can't use recordprivilegerule to apply selectedentity? only primaryentity is available, which is the entity that hosts the subgrid.

We want to show/hide the delete button depends on whether or not the user has a delete privilege on the record. We tried to use entityprivilegerule but it only applies to the selected entity. 

Any suggestions would be greatly appreciated

*This post is locked for comments

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: ribbonworkbench - recordprivilegerule

    Take a look at the following post:

    community.dynamics.com/.../156441

    You can also set the button to be available only in a particular form by using the FormEntityContextRule display rule, and set the entity name to the name of the entity where you want to have the button visible.

    Hope this helps.

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans