Share via


<Scale> (RibbonDiffXml)

Se aplica a: CRM 2016 on-prem, CRM Online

Especifica uno de los posibles diseños que se puede usar por un grupo cuando el diseño de tamaño máximo no se puede mostrar.

Sintaxis

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

Atributos y elementos

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

Atributos

Attribute Description Type Usage

GroupId

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

String

Required

Id

Especifica un identificador único para la definición de un elemento de la cinta de opciones. La convención de nomenclatura más recomendada es la de usar un punto para separar las partes del nombre como: [identificador de solución].[entidad].[cinta de opciones].[función].[nombre de elemento]. Por ejemplo: 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

PopupSize

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

String

Optional

Sequence

Especifique la ubicación de la modificación de la cinta de opciones. Para ello, defina el valor de secuencia más alto o más bajo que los elementos de la cinta de opciones existentes.

Integer

Optional

Size

Vincula a un diseño específico con una referencia a un valor de atributo de LayoutTitle.

String

Required

Elementos secundarios

Este elemento no tiene elementos secundarios.

Elementos primarios

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Especifica los elementos visibles de la cinta de opciones para incluirse en un elemento CustomAction.

<Scaling> (RibbonDiffXml)

Contiene una recopilación de elementos usados para definir cómo se presentan los grupos de la cinta de opciones cuando cambia el espacio horizontal disponible.

Información del elemento

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

Vea también

Otros recursos

Ribbon XML reference
Personalizar los comandos y la cinta de opciones

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