Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Ribbon: Enable Rules/Display Rules

Posted on by 230

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

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Ribbon: Enable Rules/Display Rules

    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:

    msdn.microsoft.com/.../gg327828.aspx

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Ribbon: Enable Rules/Display Rules

    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.

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans