Freigeben über


<Scale> (RibbonDiffXml)

Betrifft: CRM 2016 on-prem, CRM Online

Gibt eines der möglichen Layouts für eine Gruppe an, wenn das Layout mit maximaler Größe nicht angezeigt werden kann.

Syntax

<Scale 
 GroupId="String" 
 Id="String" 
 PopupSize="String" 
 Sequence="Integer" 
 Size="String" 
 />

Attribute und Elemente

The following describes the attributes, child elements, and parent elements.

Attribute

Attribute Description Type Usage

GroupId

A string that identifies the <Group> (RibbonDiffXml)that this scale applies to.

String

Required

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

PopupSize

A string that corresponds to the value of the Title attribute of a <Layout> (RibbonDiffXml) element that defines the size.

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

Size

Ist mit einem bestimmten Layout mit einem Verweis auf einen LayoutTitle-Attributwert verknüpft.

String

Required

Untergeordnete Elemente

Diese Element verfügt nicht über untergeordnete Elemente.

Übergeordnete Elemente

Element Description

<CommandUIDefinition> (RibbonDiffXml)

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

<Scaling> (RibbonDiffXml)

Enthält eine Sammlung von Elementen zum Festlegen, wie Menübandgruppen dargestellt werden, wenn sich der verfügbare horizontale Bereich ändert.

Elementinformationen

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ContextualGroup/Tab/Scaling/Scale |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Tab/Scaling/Scale |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Scaling/Scale |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Scale

Schema Name

ScaleType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

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.