分享方式:


<GroupTemplate> (RibbonDiffXml)

適用於: CRM 2015 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 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.