Del via


<MaxSize> (RibbonDiffXml)

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

Definerer det størst mulige layout for en gruppe.

Syntaks

<MaxSize
 GroupId="String"
 Id="String"
 Sequence="Integer"
 Size="String"
/>

Attributter og elementer

The following table lists the attributes, child elements, and parent elements.

Attributter

Attribute Description Type Usage

GroupId

A string that identifies the <Group> (RibbonDiffXml) that this element pertains 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

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

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

Scaling

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/MaxSize |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ContextualGroup/Tab/Scaling/MaxSize

Schema Name

MaxSizeType

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.