Dear Communities,
Can you explain to me what is the difference between about Enable and Display rules? both will show/hide buttons based on rules then how will different?
Regards
Dhanabal
*This post is locked for comments
I'd also add that, it seems, Enable rules are more like "client side" rules, while display rules are more like "server side" rules.. that would explain why we can't use "customrule" for the display rules, for example (since that would be a javascript that has to run on the client).
And that's, probably, why in the description of the refreshRibbon method only enable rules are mentioned:
Some of the rules that you can apply to the enable/disable rules are different, but basically the RibbonDiffXml, which builds up the command bar on your CRM HomePage or Form was introduced in CRM 2011, when there was no command bar, but a Ribbon.
In CRM 2011 the Display Rules would hide the item from your ribbon, while the Enable Rules would disable them on the form.
When Microsoft moved away from Ribbon and into Command Bar, they kept the structure of the Ribbon Xml, which is why we still have both the Display Rules and the Enabled Rules.
You can use either rules to specify whether or not you want to show a button on your command bar.
The best way to configure these of course is using Ribbon Workbench by Scott Durow.
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156