Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

<CommandDefinition> (RibbonDiffXml)

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Specifies a set of rules that control how a ribbon element is displayed and actions to perform that can be referenced by ribbon elements and controls.

 <EnableRules />
 <DisplayRules />
 <Actions />

The following table lists the attributes, child elements, and parent elements.



Attribute Description Type Usage


Specifies a unique identifier for the definition of a ribbon element. The strongly recommended naming convention is to use a period to separate the parts of the name like so: [solution identifier].[entity].[ribbon].[function].[element name]. For example: MyISV.account.form.SendToOtherSystem.Button.



Child Elements


Element Description

<EnableRules> (RibbonDiffXml)

Contains a collection of enable rules.

<DisplayRules> (RibbonDiffXml)

Contains a collection of display rules.

<Actions> (RibbonDiffXml)

Specifies the actions that a command will perform.

Parent Elements


Element Description

<CommandDefinitions> (RibbonDiffXml)

Contains a collection of commands that can be referenced by ribbon controls.

This element must contain all child elements even when no enable rules, display rules, or actions are defined.




Schema Name


Validation File


Can be Empty


Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
© 2015 Microsoft