<GroupTemplate> (RibbonDiffXml)

適用対象: CRM 2016 on-prem, CRM Online

リボンの幅を変更するときにグループが使用できるレイアウト定義のコレクションを指定します。

構文

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

属性と要素

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

属性

Attribute Description Type Usage

ClassName

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

String

Optional

Id

リボン要素の定義の一意の識別子を指定します。[solution identifier].[entity].[ribbon].[function].[element name] のように、命名規則として、名前の各部をピリオドを使用して分割することを強くお勧めします。たとえば、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.

重要

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

String

Required

下位要素

Element Description

<Layout> (RibbonDiffXml)

GroupTemplate 内の Group のレイアウトを指定します。

親要素

Element Description

<RibbonTemplates> (RibbonDiffXml)

グループ テンプレートのコレクションを格納します。

要素情報

XPath

//RibbonDiffXml/Templates/RibbonTemplates/GroupTemplate

Schema Name

GroupTemplateType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

関連項目

他のリソース

Ribbon XML reference
コマンドおよびリボンをカスタマイズする

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