共用方式為


<EnableRules> (RibbonDiffXml)

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

包含啟用規則的集合。

語法

<EnableRules >
 <EnableRule />
</EnableRules>

屬性和元素

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

屬性

此元素沒有屬性。

子元素

Element Description

<EnableRule> (RibbonDiffXml)

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

上層元素

Element Description

<CommandDefinition> (RibbonDiffXml)

指定可控制功能區元素顯示及執行動作方式,而且可由功能區元素和控制項參照的一組規則。

<RuleDefinitions> (RibbonDiffXml)

包含規則定義的集合。

元素資訊

XPath

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

Schema Name

  • CommandDefinitionType/EnableRules

  • EnableRulesType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

請參閱

其他資源

Ribbon XML reference
自訂命令和功能區

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