Del via


<CommandClientTypeRule> (RibbonDiffXml)

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

Angiver en regel, der registrerer den type præsentation, der anvendes.

Syntaks

<CommandClientTypeRule
 Default=["0" | "1" | "true" | "false"]
 InvertResult=["0" | "1" | "true" | "false"]
 Type=["Modern" | "Refresh" | "Legacy"] 
/>

Attributter og elementer

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

Attributter

Attribute Description Type Usage

Default

Angiver standardreturværdien for reglen, hvis den faktiske værdi ikke kan bestemmes.

Boolean

Optional

InvertResult

Gør reglens returværdi negativ.

Boolean

Optional

Type

Specifies the type of presentation.

Valid values:

  • Modern

  • Refresh

  • Legacy

See Remarks.

Enumeration

Required

Underordnede elementer

Dette element har ingen attributter.

Overordnede elementer

Element Description

<DisplayRule> (RibbonDiffXml)

Angiver enten definitionen på den regel, der bruges til at få vist et element på båndet, eller en reference til en DisplayRule fra en kommandodefinition.

<EnableRule> (RibbonDiffXml)

Angiver enten definitionen på en regel, der bruges til at aktivere eller deaktivere et element på båndet, eller en reference til en EnableRule fra en kommandodefinition.

<Or> (RibbonDiffXml)

Angiver et sæt regler, der skal evalueres samlet.

Bemærkninger

The Type values correspond to the following:

Value Presentation

Modern

The command bar is presented using Microsoft Dynamics CRM til tablets.

Refresh

The command bar is presented using the updated user interface.

Legacy

The ribbon is presented in forms for entities that were not updated or in a list view in Microsoft Dynamics CRM til Microsoft Office Outlook.

Elementoplysninger

XPath

//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/CommandClientTypeRule |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/CommandClientTypeRule |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or/CommandClientTypeRule |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or/CommandClientTypeRule

Schema Name

CommandClientTypeRule

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Se også

Andre ressourcer

Ribbon XML reference
Tilpasse kommandoer og båndet

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