Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Difference between Display and Enable Rules

Posted on by 155

I have looked into various websites, but couldn't find the difference between Display and Enable Rules in Ribbon Workbench ? Kindly assist.

  • Suggested answer
    crmblogger Profile Picture
    crmblogger 5 on at
    RE: Difference between Display and Enable Rules

    Display rules are evaluated server-side, while enable rules are evaluated client-side. As a result, there are some types of rules that can be used in one but not the other. For example, you can only use an EntityPrivilegeRule in a display rule, but a CustomRule can only be used in an enable rule.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Difference between Display and Enable Rules

    Hi All,

    Below is the difference between display rule or enable rule example.

    juniorcrmblog.blogspot.com/.../difference-between-enable-rule-vs.html

    Thanks,

    Arshad

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Difference between Display and Enable Rules

    Hi Pankaj,

    The following links describes display rules and enable rules.

    msdn.microsoft.com/.../gg328560.aspx

    msdn.microsoft.com/.../gg334682.aspx

    Hope this helps.

  • Suggested answer
    Kishor Kumar Profile Picture
    Kishor Kumar 3,702 on at
    RE: Difference between Display and Enable Rules

    Hi Pankaj,

    Check this below link

    ribbonworkbench.uservoice.com/.../276684-differences-between-crm2011-and-crm2013-ribbon-com

  • Verified answer
    Mark Carrington Profile Picture
    Mark Carrington 332 on at
    RE: Difference between Display and Enable Rules

    This is largely a historical difference. In CRM 2011 and earlier, buttons could be hidden entirely (using a display rule), or shown but grayed out (using an enable rule). From 2013 onwards, both types of rule result in hiding the button. However, there is still one key difference:

    Display rules are evaluated server-side, while enable rules are evaluated client-side. As a result, there are some types of rules that can be used in one but not the other. For example, you can only use an EntityPrivilegeRule in a display rule, but a CustomRule can only be used in an enable rule.

    Because they are evaluated client-side, enable rules can be re-evaluated on demand using Xrm.Page.ui.refreshRibbon to show/hide buttons dynamically based on changes to the data in the form. Display rules, on the other hand, will only be re-evaluated when the page is refreshed.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans