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