Del via


<Scale> (RibbonDiffXml)

Gælder for: CRM 2016 on-prem, CRM Online

Angiver et af de mulige layout, der kan bruges af en gruppe, når layoutet med maksimumstørrelsen ikke kan vises.

Syntaks

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

Attributter og elementer

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

Attributter

Attribute Description Type Usage

GroupId

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

String

Required

Id

Angiver et entydigt id for definitionen på et element på båndet. Det anbefales på det kraftigste at bruge navnekonventionen, der adskiller delene i navnet med et punktum som f.eks.: [løsnings-id].[objekt].[bånd].[funktion].[elementnavn]. Et eksempel: 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.

ImportantVigtigt!
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

Angiv placeringen af det ændrede bånd ved at angive sekvensværdien til at være højere eller lavere end eksisterende elementer på båndet.

Integer

Optional

Size

Opretter forbindelse til et bestemt layout med en reference til en LayoutTitle-attributværdi.

String

Required

Underordnede elementer

Dette element har ingen underordnede elementer.

Overordnede elementer

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Angiver de synlige elementer på båndet, der skal inkluderes i et CustomAction-element.

<Scaling> (RibbonDiffXml)

Indeholder en samling elementer, der bruges til at definere, hvordan grupper på båndet vises, når den ledige vandrette plads ændres.

Elementoplysninger

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

Se også

Andre ressourcer

Ribbon XML reference
Tilpasse kommandoer og båndet

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