Share via


<Group> (RibbonDiffXml)

Si applica a: CRM 2016 on-prem, CRM Online

Specifica un gruppo di controlli all'interno di una scheda che condividono un modello di layout comune.

Sintassi

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

Attributi ed elementi

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

Attributi

Attribute Description Type Usage

Command

Specifica l'ID del comando della barra multifunzione per il controllo.

String

Optional

Description

L'attributo Description non è utilizzato in Microsoft Dynamics CRM.

String

Optional

Id

Specifica un identificatore univoco per la definizione di un elemento della barra multifunzione. La convenzione di denominazione consigliata è l'utilizzo di un punto per separare le parti del nome, come segue: [identificatore soluzione].[entità].[barra multifunzione].[funzione].[nome elemento]. Ad esempio: 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.

Importante

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

String

Required

Image32by32Popup

Specifica l'immagine di dimensioni pari a 32x32 pixel che viene mostrata quando un gruppo viene visualizzato come elenco popup sulla barra multifunzione. Può trattarsi del percorso di un file di immagine oppure del riferimento a una risorsa Web che utilizza la direttiva $webresource:.

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

Specificare la posizione della modifica della barra multifunzione impostando il parametro Sequence su un valore più alto o più basso degli elementi esistenti della barra multifunzione.

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

Elementi figlio

Element Description

<Controls> (RibbonDiffXml)

Contiene una raccolta di controlli.

Elementi padre

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Specifica gli elementi della barra multifunzione visibili da includere in un elemento CustomAction.

<Groups> (RibbonDiffXml)

Contiene una raccolta di elementi Group.

Informazioni elemento

XPath

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

Schema Name

GroupType

Validation File

RibbonWSS.xsd

Can be Empty

No

Vedere anche

Altre risorse

Ribbon XML reference
Personalizzare i comandi e la barra multifunzione

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