Partajați prin


<EnableRules> (RibbonDiffXml)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains a collection of enable rules.

Syntax

<EnableRules >
 <EnableRule />
</EnableRules>

Attributes and Elements

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

Attributes

This element has no attributes.

Child Elements

Element

Description

<EnableRule> (RibbonDiffXml)

Specifies either the definition of a rule used to enable or disable a ribbon element or a reference to an EnableRule from a command definition.

Parent Elements

Element

Description

<CommandDefinition> (RibbonDiffXml)

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.

<RuleDefinitions> (RibbonDiffXml)

Contains a collection of rule definitions.

Element Information

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/EnableRules |
//RibbonDiffXml/RuleDefinitions/EnableRules

Schema Name

  • CommandDefinitionType/EnableRules

  • EnableRulesType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright