Hi all,
can any one tell me the diffrences between Enable and Disabled In Ribbon Workbench.
*This post is locked for comments
Sorry Guys its Enable and Disply Rules In Ribbon Workbench.
Hi Pravee Kumar,Enable rules are used if we need to enable or disable a form ribbon button depending on some conditions but it will be shown in the ribbon. These rules control when the ribbon elements are enabled. Display rules are used if you need to show or hide the button based on certain conditions. These specific rules control when the ribbon elements will display.
https://msdn.microsoft.com/en-us/library/gg334682.aspx
https://msdn.microsoft.com/en-us/library/gg328560.aspx
thanks for your reply could you please elaborate your answer ??
Hi,
With the ribbon enable rules, commands that are disabled are visible but do not respond to events. Enable rules are intended to be re-used. By defining them with rule definitions, you can use the same enable rule for many command definitions. When more than one enable rule is defined for a command definition, all of the enable rules must evaluate as true for the ribbon element to be enabled.
With the ribbon display rules, commands that are hidden are not visible at all. By defining display rules in rule definitions, you can use the same display rule for many command definitions. When more than one display rule is defined for a command definition, all of the display rules must evaluate as true for the ribbon element to be displayed.
Hope you understand.
Display Rules are used when we want to show/hide the button on the form. Display rule will completely remove button from form.
Enable Rules are used to make the button enabled or disabled. Button will be present but will be in enabled or disabled state.
Let's take a example:
I want to display a button in disabled state on a form.
For that i will create a button and show only when the record is saved. For this i will use Display Rule.
If I want to disable this button on based on some condition i will have to use enable rule.
Hi Pravee,
You can define rules based secuirty roles or some criteria based on the rule which return true or false we can hide/show the buttons this is known as enable or disable rules in ribbon bench
Reply
Pravee,
Just Imagine Scenario like this there is delete ribbon in any entity should be visible to the person with admin role and other people should not be able to see that delete ribbon
So for that we are using ribbon work bench tool so we check whether the logged in user has the admin role so its true so ribbon bench will show those delete ribbon to this users only where in the case of the other users it will not be visible since the condition fails i.e false
Check this link also
ribbonworkbench.uservoice.com/.../76681-hide-a-standard-out-of-the-box-button-based-on-a
Hope you understood now!!
Please refer the link below. You can get all the information regarding the Ribbon Workbench.
ribbonworkbench.uservoice.com
ribbonworkbench.uservoice.com/.../81981-2-customising-standard-ribbons
Thanks...
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 Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 2
HR-09070029-0 2
UllrSki 2