Show/Hide ribbon button based on Security Role without writing code in Dynamics 365 CE?
Originally posted on goutam dynamics:
Recently I have seen in a community post, there was a requirement to show/hide opportunity “Close as won” and “Close as lost” button based on user security role without writing any code. Ideally in this scenario we basically retrieve the user role name using web API and then based on…
Continue Reading Nishant Rana’s Article on their blog
Show/Hide ribbon button based on Security Role without writing code in Dynamics 365 CE?
goutam dynamics Recently I have seen in a community post, there was a requirement to show/hide opportunity “Close as won” and “Close as lost” button based on user security role without writing any code. Ideally in this scenario we basically retrieve the user role name using web API and then based on that we return true/false to show/hide the button using ribbon workbench enable rule.
Blog Syndicated with Nishant Rana’s Permission
More About This Author
Array
- Dyn365CE28 March 2024Fixed – Web resource method does not exist: OnLoad error in Work Order, Work Order Service task, and other forms in Dynamics 365 Field Service
- Dyn365CE27 March 2024Fixed – VS402356: You do not have the permissions required to perform the attempted operation on this process (Azure DevOps)
- Dyn365CE26 March 2024Using Union function to remove duplicates – Power Automate / Dataverse
- Dyn365CE20 March 2024Fixed- The XRM workflow table row could not be found error (Power Automate)