Del via


<Scaling> (RibbonDiffXml)

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

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

Syntaks

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

Attributter og elementer

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

Attributter

Attribute Description Type Usage

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

Underordnede elementer

Element Description

<MaxSize> (RibbonDiffXml)

Definerer det størst mulige layout for en gruppe.

<Scale> (RibbonDiffXml)

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

<LowScaleWarning> (RibbonDiffXml)

Kun til intern brug.

Overordnede elementer

Element Description

<CommandUIDefinition> (RibbonDiffXml)

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

<Tab> (RibbonDiffXml)

Angiver en fane på båndet.

Elementoplysninger

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

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.