<OrRule> (RibbonDiffXml)

適用於: CRM 2016 on-prem, CRM Online

包含規則集合的規則,因此如果集合中的任何一個規則評估為 true,此規則就會評估為 true。

語法

<OrRule>
 <Or />
</OrRule>

屬性和元素

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

屬性

此元素沒有屬性。

子元素

Element Description

<Or> (RibbonDiffXml)

指定一組必須同時評估的規則。

上層元素

Element Description

<DisplayRule> (RibbonDiffXml)

指定用於顯示功能區元素或命令定義中 DisplayRule 參照的規則定義。

<EnableRule> (RibbonDiffXml)

指定用於啟用或停用功能區元素或命令定義中 EnableRule 參照的規則定義。

元素資訊

XPath

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

Schema Name

  • OrDisplayRuleType

  • OrEnableRuleType

Validation File

RibbonTypes.xsd

Can be Empty

No

請參閱

其他資源

Ribbon XML reference
自訂命令和功能區

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