Export (0) Print
Expand All
Expand Minimize

<TabDisplayRule> (RibbonDiffXml)

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Specifies conditions when a tab will display.

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

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

Attributes

 

Attribute Description Type Usage

TabCommand

Associates the TabDisplayRule with a corresponding Tab.Command.

String

Required

Child Elements

 

Element Description

<EntityRule> (RibbonDiffXml)

Specifies a rule that can detect whether a specific entity is in context.

<PageRule> (RibbonDiffXml)

A rule that evaluates the address of the current page.

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

Parent Elements

 

Element Description

<TabDisplayRules> (RibbonDiffXml)

Contains a collection of TabDisplayRule elements.

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

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