<OrRule> (RibbonDiffXml)

 

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

A rule that contains a collection of rules so that this rule will evaluate as true if any of the rules in the collection evaluates as true.

Syntax

<OrRule>
 <Or />
</OrRule>

Attributes and Elements

The following describes the attributes, child elements, and parent elements.

Attributes

This element has no attributes.

Child Elements

Element

Description

<Or> (RibbonDiffXml)

Specifies a set of rules that must be evaluated together.

Parent Elements

Element

Description

<DisplayRule> (RibbonDiffXml)

Specifies either the definition of a rule used to display a ribbon element or a reference to a DisplayRule from a command definition.

<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.

Element Information

XPath

//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule

Schema Name

  • OrDisplayRuleType

  • OrEnableRuleType

Validation File

RibbonTypes.xsd

Can be Empty

No

See Also

Ribbon XML reference
Customize commands and the ribbon

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright