<Scaling> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2015

Contains a collection of elements used to define how ribbon groups are presented when the horizontal space available changes.

Syntax

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

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

Id

Specifies a unique identifier for the definition of a ribbon element. The strongly recommended naming convention is to use a period to separate the parts of the name like so: [solution identifier].[entity].[ribbon].[function].[element name]. For example: 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

Child Elements

Element

Description

<MaxSize> (RibbonDiffXml)

Defines the largest layout possible for a group.

<Scale> (RibbonDiffXml)

Specifies one of the possible layouts that may be used by a group when the maximum size layout cannot be displayed.

<LowScaleWarning> (RibbonDiffXml)

For internal use only.

Parent Elements

Element

Description

<CommandUIDefinition> (RibbonDiffXml)

Specifies the visible Ribbon elements to be included within a CustomAction element.

<Tab> (RibbonDiffXml)

Specifies a tab in the ribbon.

Element Information

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

See Also

Ribbon XML reference
Customize commands and the ribbon

© 2016 Microsoft. All rights reserved. Copyright