Announcements
No record found.
Hi.
I have a entity (A) with a N:N relation to a another entity (B) and I am using a sub-grid to associate entity (B) records with entity (A).
I am experiencing that users are able to delete these associations by mistake and I am looking into to disable this possibility for a specific security role.
Is this possible?
Hi,
Unfortunately this is not possible with security roles bu you can certainly put some additional js validation where you can check the role and throw error message if not correct role. Take a look at this blog-
https://www.briteglobal.com/blogs/community/disable-delete-icon-on-subgrid/
Hope this helps.
Hi Sebastian,
Do you mean that you want to hide the Remove button of the subgrid of N: N relationship based on the user security role?
If so, you will use Ribbon Workbench.
This is the download page for Ribbon Workbench: http://www.develop1.net/public/rwb/ribbonworkbench.aspx
This is the tutorial for Ribbon Workbench: https://community.dynamics.com/crm/b/develop1/posts/mastering-ribbon-workbench-2016
Here are the articles on how to show / hide ribbon button based on Security Role:
https://goutamdascrm.wordpress.com/2020/01/06/show-hide-ribbon-button-based-on-security-role-without-writing-code-in-dynamics-365-ce/
https://goutamdascrm.wordpress.com/2020/01/06/show-hide-ribbon-button-based-on-security-role-using-entityprivilegerule-in-dynamics-365-ce-without-writing-code/
https://ribbonworkbench.uservoice.com/knowledgebase/articles/76681-hide-a-standard-out-of-the-box-button-based-on-a
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/178915/hide-show-a-button-based-on-security-role-using-ribbonworkbench
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 107 Super User 2026 Season 1
11manish 94
Muhammad Shahzad Sh... 69 Most Valuable Professional