<Group> (RibbonDiffXml)

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

共通のレイアウト テンプレートを共有するタブ内のコントロールのグループを指定します。

構文

<Group 
 Command="String"
 Description="String"
 Id="String"
 Image32by32Popup="String"
 Image32by32PopupClass="String"
 Image32by32PopupLeft="Non Positive Integer"
 Image32by32PopupTop="Non Positive Integer"
 PopupWidth ="String"
 Sequence="Integer"
 Template="String"
 Title="String" >
 <Controls />
</Group>

属性と要素

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

属性

Attribute Description Type Usage

Command

このコントロールのリボン コマンドの ID を指定します。

String

Optional

Description

この [説明] 属性は Microsoft Dynamics CRM では使用されません。

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

Image32by32Popup

グループがポップアップ リストとしてリボンに表示される場合に表示する 32 x 32 ピクセルのイメージを指定します。イメージ ファイルのパスを指定できます。または、$webresource: ディレクティブを使用して Web リソースを参照することもできます。

String

Optional

Image32by32PopupClass

The name of a CSS class selector to be applied to the image.

String

Optional

Image32by32PopupLeft

A negative integer that represents an offset for the left edge of the image. Use this attribute when the Image32by32Popup attribute points to an image file that contains images for many icons. The value of the Image32by32PopupLeft attribute is used to set the CSS left attribute for the inline style of an HTML img tag.

Non Positive Integer

Optional

Image32by32PopupTop

A negative integer that represents an offset for the top edge of the image. Use this attribute when the Image32by32Popup attribute points to an image file that contains images for many icons. The value of the Image32by32PopupTop attribute is used to set the CSS top attribute for the inline style of an HTML img tag.

Non Positive Integer

Optional

PopupWidth

The width of the popup to display in pixels.

String

Optional

Sequence

Sequence の値を既存のリボン要素よりも大きく、または小さく設定することによってリボンの変更の場所を指定します。

Integer

Optional

Template

A string that corresponds to the Id attribute of a <GroupTemplate> (RibbonDiffXml) element.

String

Optional

Title

The text to include in the label for the group.

String

Optional

下位要素

Element Description

<Controls> (RibbonDiffXml)

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

親要素

Element Description

<CommandUIDefinition> (RibbonDiffXml)

CustomAction 要素内に収まる、表示可能な Ribbon 要素を指定します。

<Groups> (RibbonDiffXml)

Group 要素のコレクションを格納します。

要素情報

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Group |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Groups/Group

Schema Name

GroupType

Validation File

RibbonWSS.xsd

Can be Empty

No

関連項目

他のリソース

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

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