Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

<MaxSize> (RibbonDiffXml)

Applies To: CRM 2015 on-prem, CRM Online

Defines the largest layout possible for a group.

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

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

Attributes

 

Attribute Description Type Usage

GroupId

A string that identifies the <Group> (RibbonDiffXml) that this element pertains to.

String

Required

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.

ImportantImportant
If you don’t set a globally unique Id value, the ribbon might not display.

String

Required

Sequence

Specify the location of the ribbon modification by setting the Sequence value higher or lower than existing ribbon elements.

Integer

Optional

Size

Links to a specific layout with a reference to a LayoutTitle attribute value.

String

Required

Child Elements

This element has no child elements.

Parent Elements

 

Element Description

CommandUIDefinition

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

Scaling

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

 

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

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