<GroupTemplate> (RibbonDiffXml)
TOC
Collapse the table of content
Expand the table of content

<GroupTemplate> (RibbonDiffXml)

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Specifies a collection of layout definitions that a group can use when the ribbon width changes.

<GroupTemplate 
 Id="String"
 ClassName="String">
 <Layout />
</GroupTemplate>

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

Attributes

 

Attribute Description Type Usage

ClassName

The name of a CSS class selector to apply to the group.

String

Optional

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

Child Elements

 

Element Description

<Layout> (RibbonDiffXml)

Specifies a layout for a Group within a GroupTemplate.

Parent Elements

 

Element Description

<RibbonTemplates> (RibbonDiffXml)

Contains a collection of group templates.

 

XPath

//RibbonDiffXml/Templates/RibbonTemplates/GroupTemplate

Schema Name

GroupTemplateType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
Show:
© 2016 Microsoft