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
Dyn365CE2023.05.29Fix – Exception in creation of lead (Dynamics 365 Marketing)
Dyn365CE2023.05.28Fixed – Expect non-empty Guid while importing solution in Dynamics 365/ Dataverse
Dyn365CE2023.05.24How to – set Calendar View to start the week from Monday – Dynamics 365
Dyn365CE2023.05.23Configure Facebook Channel – Omnichannel (Dynamics 365 Customer Service)