Hide and Show custom button based on the security role and field value




Custom buttons in Dynamics 365 CRM can be shown or hidden based on security roles and field values

To show or hide a custom button based on security roles:

Create a JavaScript function that checks both the user's security roles and field values

Pass CRM parameter from ribbon workbench for D365 CRM


Add enable rule to command



Comments

Popular posts from this blog

How to update 100000(hundred thousand) records with power automate flow by using chunk expression, Split the list and pass onto child flows.

How to keep flows remain on if the flows don't run for 90 days

D365 CRM-Change Entity translations(Sub area) in Modern driven app.