Freigeben über


<GroupTemplate> (RibbonDiffXml)

Betrifft: CRM 2016 on-prem, CRM Online

Gibt eine Sammlung von Layoutdefinitionen an, die eine Gruppe verwenden kann, wenn die Menübandbreite verändert wird.

Syntax

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

Attribute und Elemente

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

Attribute

Attribute Description Type Usage

ClassName

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

String

Optional

Id

Gibt einen eindeutigen Bezeichner für die Definition eines Menübandelements an. Die dringend empfohlene Namenskonvention sieht die Verwendung eines Punkts zum Trennen der Teile des Namens vor: [Lösungsbezeichner].[Entität].[Menüband].[Funktion].[Elementname]. Beispiel: 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.

Wichtig

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

String

Required

Untergeordnete Elemente

Element Description

<Layout> (RibbonDiffXml)

Gibt ein Layout für eine Gruppe in einer Gruppenvorlage an.

Übergeordnete Elemente

Element Description

<RibbonTemplates> (RibbonDiffXml)

Enthält eine Sammlung von Gruppenvorlagen.

Elementinformationen

XPath

//RibbonDiffXml/Templates/RibbonTemplates/GroupTemplate

Schema Name

GroupTemplateType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

Siehe auch

Weitere Ressourcen

Ribbon XML reference
Anpassen von Befehlen und des Menübands

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