Share via


<CommandClientTypeRule> (RibbonDiffXml)

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

Specifica una regola con cui si rileva il tipo di presentazione utilizzata.

Sintassi

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

Attributi ed elementi

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

Attributi

Attribute Description Type Usage

Default

Imposta il valore restituito predefinito per la regola se non è possibile determinare il valore effettivo.

Boolean

Optional

InvertResult

Nega il valore restituito della regola.

Boolean

Optional

Type

Specifies the type of presentation.

Valid values:

  • Modern

  • Refresh

  • Legacy

See Remarks.

Enumeration

Required

Elementi figlio

Questo elemento non presenta attributi.

Elementi padre

Element Description

<DisplayRule> (RibbonDiffXml)

Specifica la definizione di una regola utilizzata per visualizzare un elemento della barra multifunzione o un riferimento a un elemento DisplayRule da una definizione di comando.

<EnableRule> (RibbonDiffXml)

Specifica la definizione di una regola utilizzata per abilitare o disabilitare un elemento della barra multifunzione o un riferimento a un elemento EnableRule da una definizione di comando.

<Or> (RibbonDiffXml)

Specifica un set di regole che è necessario valutare insieme.

Note

The Type values correspond to the following:

Value Presentation

Modern

The command bar is presented using Microsoft Dynamics CRM per tablet.

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 per Outlook.

Informazioni elemento

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

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.