Notifications
Announcements
No record found.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 57 Super User 2025 Season 2
Daniyal Khaleel 34 Most Valuable Professional
Scott Jackson UK 22