Hi All,
i have to hide or disable the save & send buttion on appointment activity for specific role.
can anybody suggest me on this.
Hi All,
i have to hide or disable the save & send buttion on appointment activity for specific role.
can anybody suggest me on this.
Hey Mona,
You will need to create a custom enable rule for this and base the visibility using a Javascript that returns true or false depending of the security role.
To create a JS to get the security roles of the user you need to check this: docs.microsoft.com/.../usersettings
Above function will help you to retrieve the security roles from the actual logged user.
This is an example of the customRules:
Hi All,
can anybody please help me with this urgently.
i need to do this on priority.
can u please provide a script and how can i use that script for the enable /disable rule.
Hello Mona,
Yes, the only way is using display or enable rule. You can control them with a supported javascript. You could use a 3rd party tool such Ribbon Workbench to achieve this.
This is our official documentation about how to modify ribbon buttons.
Actually my scenario is if User is having role A ,b then he or she should not be able to see the Save and send button in appointment form.
so how can i achieve this?
No.
can i do it using script only or only it will be done through enable /disable rule rule?
Hi Mona,
have you tried the Ribbon Workbench in XrmToolBox?
Regards
Richard
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156