Del via


<Tab> (RibbonDiffXml)

Gælder for: CRM 2016 on-prem, CRM Online

Angiver en fane på båndet.

Syntaks

<Tab
 Command="String"
 CssClass="String"
 Description="String"
 Id="String"
 Sequence="Integer"
 Title="String">
 <Scaling />
 <Groups />
</Tab>

Attributter og elementer

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

Attributter

Attribute Description Type Usage

Command

Angiver id'et for kommandoen på båndet for dette kontrolelement.

String

Optional

CssClass

The name of the CSS class to apply when the tab is rendered.

String

Optional

Description

Beskrivelsesattributten bruges ikke i Microsoft Dynamics CRM.

String

Optional

Id

Angiver et entydigt id for definitionen på et element på båndet. Det anbefales på det kraftigste at bruge navnekonventionen, der adskiller delene i navnet med et punktum som f.eks.: [løsnings-id].[objekt].[bånd].[funktion].[elementnavn]. Et eksempel: 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.

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

String

Required

Sequence

Angiv placeringen af det ændrede bånd ved at angive sekvensværdien til at være højere eller lavere end eksisterende elementer på båndet.

Integer

Optional

Title

Dette element bruges ikke i Microsoft Dynamics CRM.

String

Optional

Underordnede elementer

Element Description

<Scaling> (RibbonDiffXml)

Indeholder en samling elementer, der bruges til at definere, hvordan grupper på båndet vises, når den ledige vandrette plads ændres.

<Groups> (RibbonDiffXml)

Indeholder en samling gruppeelementer.

Overordnede elementer

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Angiver de synlige elementer på båndet, der skal inkluderes i et CustomAction-element.

<ContextualGroup> (RibbonDiffXml)

Indeholder en samling faner, der skal vises i en bestemt sammenhæng.

Elementoplysninger

XPath

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

Schema Name

TabType

Validation File

RibbonWSS.xsd

Can be Empty

No

Se også

Andre ressourcer

Ribbon XML reference
Tilpasse kommandoer og båndet

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