<Scale> (RibbonDiffXml)

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

Spécifie une des dispositions possibles pouvant être utilisées par un groupe lorsque la disposition de taille maximale ne peut pas être affichée.

Syntaxe

<Scale 
 GroupId="String" 
 Id="String" 
 PopupSize="String" 
 Sequence="Integer" 
 Size="String" 
 />

Attributs et éléments

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

Attributs

Attribute Description Type Usage

GroupId

A string that identifies the <Group> (RibbonDiffXml)that this scale applies to.

String

Required

Id

Spécifie un identificateur unique pour la définition d'un élément de ruban. Il est recommandé d'utiliser un point pour séparer les parties du nom, comme suit : [identificateur de solution].[entité].[ruban].[fonction].[nom d'élément]. Par exemple : MyISV.account.form.SendToOtherSystem.Button.

Use the {!EntityLogicalName} token in the Id attribute when you define a ribbon element that will be used for multiple entities. This inserts the entity logical name into the Id value to make sure that the Id value is globally unique.

For example, if you use MyISV.{!EntityLogicalName}.form.SendToOtherSystem.Button with the account entity, the Id will be MyISV.account.form.SendToOtherSystem.Button. For the contact entity, the Id will be MyISV.contact.form.SendToOtherSystem.Button.

Important

If you don’t set a globally unique Id value, the ribbon might not display.

String

Required

PopupSize

A string that corresponds to the value of the Title attribute of a <Layout> (RibbonDiffXml) element that defines the size.

String

Optional

Sequence

Spécifie l'emplacement de la modification du ruban en définissant la valeur Sequence plus haut ou plus bas que les éléments de ruban existants.

Integer

Optional

Size

Liens vers une disposition spécifique avec une référence à une valeur d'attribut LayoutTitle.

String

Required

Éléments enfants

Cet élément n'a pas d'élément enfant.

Éléments parents

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Spécifie les éléments de ruban visibles à inclure dans un élément CustomAction.

<Scaling> (RibbonDiffXml)

Contient un ensemble d'éléments utilisés pour définir la présentation des groupes de ruban en cas de modification de l'espace horizontal disponible.

Informations sur l'élément

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ContextualGroup/Tab/Scaling/Scale |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Tab/Scaling/Scale |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Scaling/Scale |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Scale

Schema Name

ScaleType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

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.