Freigeben über


<Group> (RibbonDiffXml)

Betrifft: CRM 2016 on-prem, CRM Online

Gibt eine Gruppe von Steuerelementen auf einer Registerkarte an, die eine Layoutvorlage gemeinsam nutzen.

Syntax

<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>

Attribute und Elemente

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

Attribute

Attribute Description Type Usage

Command

Gibt die ID des Menübandbefehls für dieses Steuerelement an.

String

Optional

Description

Das Attribut Description wird von Microsoft Dynamics CRM nicht verwendet.

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

Image32by32Popup

Gibt das Bild mit 32 x 32 Pixel an, das beim Anzeigen einer Gruppe als Popupliste auf dem Menüband angezeigt wird. Dies kann der Pfad zu einer Bilddatei sein oder mithilfe der $webresource:-Direktive auf eine Webressource verweisen.

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

Geben Sie die Position der Menübandänderung an, indem Sie den Sequenzwert höher oder niedriger als vorhandene Menübandelemente festlegen.

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

Untergeordnete Elemente

Element Description

<Controls> (RibbonDiffXml)

Enthält eine Sammlung von Steuerelementen.

Übergeordnete Elemente

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Gibt die sichtbaren Menübandelemente an, die in einem CustomAction-Element enthalten sein sollen.

<Groups> (RibbonDiffXml)

Enthält eine Sammlung von Gruppenelementen.

Elementinformationen

XPath

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

Schema Name

GroupType

Validation File

RibbonWSS.xsd

Can be Empty

No

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.