locked
Difference betwen <EnableRules> and <DisplayRules> in CRM 2011 Ribbon RRS feed

  • Question

  • Hi All,

    Can anyone give the difference between <EnableRules> and <DisplayRules> in CRM 2011 ribbon. I find both of them as similar in the below URL.

    http://msdn.microsoft.com/en-us/library/gg334682.aspx

    http://msdn.microsoft.com/en-us/library/gg328560.aspx

    Thanks in advance.

    Thanks

    Vikram

    Wednesday, January 29, 2014 5:30 PM

Answers

  • Hi,

    Obviously the EnableRule defines if the ribbon is enabled or not. The DisplayRule defines if it's hidden or not.

    But you have also some differences in the set of rules you can use. I.e. the EntityPropertyRule is only available as DisplayRule.

    And if you use JavaScript as CustomRule you have to go with EnableRule.

    best regards

    steve


    Steve Sämmang, Vienna, Austria
    Blog: xrm.io Website: simplic.at


    • Edited by saemmang Wednesday, January 29, 2014 6:36 PM
    • Proposed as answer by HIMBAPModerator Thursday, January 30, 2014 8:21 AM
    • Marked as answer by Vikram96 Sunday, February 2, 2014 4:33 PM
    Wednesday, January 29, 2014 6:36 PM