分享方式:


<TabDisplayRule> (RibbonDiffXml)

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

指定將顯示索引標籤的條件。

語法

<TabDisplayRule 
 TabCommand="String"
 >
 <EntityRule />
 <PageRule />
</TabDisplayRule>

屬性和元素

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

屬性

Attribute Description Type Usage

TabCommand

將 TabDisplayRule 與對應的 Tab.Command 產生關聯。

String

Required

子元素

Element Description

<EntityRule> (RibbonDiffXml)

指定可偵測特定實體是否在內容中的規則。

<PageRule> (RibbonDiffXml)

規則,評估目前頁面的位址。

PageRule is valid when TabDisplayRule is a descendent of ImportExportXml/RibbonDiffXml

上層元素

Element Description

<TabDisplayRules> (RibbonDiffXml)

包含 TabDisplayRule 元素的集合。

備註

When a TabDisplayRule is defined outside a specific entity using ImportExportXml/RibbonDiffXml/RuleDefinitions, <PageRule> (RibbonDiffXml) is a valid child element.

元素資訊

XPath

//RibbonDiffXml/RuleDefinitions/TabDisplayRules/TabDisplayRule

Schema Name

  • TabDisplayRulesEntityType

  • TabDisplayRulesGlobalType

Validation File

RibbonTypes.xsd

Can be Empty

No

請參閱

其他資源

Ribbon XML reference
自訂命令和功能區

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