Announcements
Hi,
We need to hide Activate/Deactivate button depending on the security role/team of the user. Where/How in Ribbon workbench can I insert a code to that?Thank you.
Hi Chesca,
Please follow the steps:
1. Create a web resource which type is Jscript(your code).
2. Right click button and click customise button command:
3. Add an Enable rule and add a custom rule step( Library is your web resource in step1. Function Name is the function name in your code):
4. Add the Enable rule(Created in step3) to the command:
5. Publish it.
Reference:
d365demystified.com/.../
Please refer below url for reference:
pravinpawarweb.wordpress.com/.../
Please create a web resource of type JavaScript and add an enable rule for hiding the button.
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
KristineRisberg 37
11manish 35
Manoj - ManoVerse 21 Super User 2026 Season 1