Share via


<Scaling> (RibbonDiffXml)

Si applica a: CRM 2016 on-prem, CRM Online

Contiene una raccolta di elementi utilizzati per definire come vengono presentati i gruppi della barra multifunzione quando cambia lo spazio orizzontale disponibile.

Sintassi

<Scaling 
 Id="String" 
 >
 <MaxSize/>
 <Scale/>
 <LowScaleWarning />
</Scaling>

Attributi ed elementi

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

Attributi

Attribute Description Type Usage

Id

Specifica un identificatore univoco per la definizione di un elemento della barra multifunzione. La convenzione di denominazione consigliata è l'utilizzo di un punto per separare le parti del nome, come segue: [identificatore soluzione].[entità].[barra multifunzione].[funzione].[nome elemento]. Ad esempio: 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.

Importante

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

String

Required

Elementi figlio

Element Description

<MaxSize> (RibbonDiffXml)

Definisce il layout più grande possibile per un gruppo.

<Scale> (RibbonDiffXml)

Specifica uno dei layout possibili che possono essere utilizzati da un gruppo quando non è possibile visualizzare il layout con le dimensioni massime.

<LowScaleWarning> (RibbonDiffXml)

Solo per uso interno.

Elementi padre

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Specifica gli elementi della barra multifunzione visibili da includere in un elemento CustomAction.

<Tab> (RibbonDiffXml)

Specifica una scheda nella barra multifunzione.

Informazioni elemento

XPath

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

Schema Name

ScalingType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

Vedere anche

Altre risorse

Ribbon XML reference
Personalizzare i comandi e la barra multifunzione

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