<TabDisplayRule> (RibbonDiffXml)

S'applique à: CRM 2016 on-prem, CRM Online

Spécifie les conditions pour l'affichage d'un onglet.

Syntaxe

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

Attributs et éléments

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

Attributs

Attribute Description Type Usage

TabCommand

Associe la TabDisplayRule à une Tab.Command correspondante.

String

Required

Éléments enfants

Element Description

<EntityRule> (RibbonDiffXml)

Spécifie une règle pouvant détecter si une entité spécifique est dans le contexte.

<PageRule> (RibbonDiffXml)

Règle évaluant l'adresse de la page actuelle.

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

Éléments parents

Element Description

<TabDisplayRules> (RibbonDiffXml)

Contient un ensemble d'éléments TabDisplayRule.

Remarques

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

Informations sur l'élément

XPath

//RibbonDiffXml/RuleDefinitions/TabDisplayRules/TabDisplayRule

Schema Name

  • TabDisplayRulesEntityType

  • TabDisplayRulesGlobalType

Validation File

RibbonTypes.xsd

Can be Empty

No

Voir aussi

Autres ressources

Ribbon XML reference
Personnaliser les commandes et le ruban

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