Compartilhar via


<Scaling> (RibbonDiffXml)

Aplica-se a: CRM 2016 on-prem, CRM Online

Contém uma coleção de elementos usados para definir como os grupos de Faixa de Opções são apresentados quando o espaço horizontal disponível é alterado.

Sintaxe

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

Atributos e elementos

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

Atributos

Attribute Description Type Usage

Id

Especifica um identificador exclusivo para a definição de um elemento de Faixa de Opções. A convenção de nomenclatura recomendável é usar um ponto para separar as partes do nome, como: [identificador da solução].[entidade].[faixa de opções].[função].[nome do elemento]. Por exemplo: 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

Elementos filho

Element Description

<MaxSize> (RibbonDiffXml)

Define o maior layout possível para um grupo.

<Scale> (RibbonDiffXml)

Especifica um dos layouts possíveis que podem ser usados por um grupo quando o layout de tamanho máximo não pode ser exibido.

<LowScaleWarning> (RibbonDiffXml)

Apenas para uso interno.

Elemento pai

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Especifica os elementos de Faixa de Opções visíveis a serem incluídos no elemento CustomAction.

<Tab> (RibbonDiffXml)

Especifica uma guia na Faixa de Opções.

Informações do 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

Consulte também

Outros recursos

Ribbon XML reference
Personalizar os comandos e a faixa de opções

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