Export (0) Print
Expand All
Expand Minimize

<CommandClientTypeRule> (RibbonDiffXml)

Dynamics CRM 2013

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Specifies a rule that detects the type of presentation being used.

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

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

Attributes

 

Attribute Description Type Usage

Default

Sets the default return value for the rule if the actual value cannot be determined.

Boolean

Optional

InvertResult

Negates the return value of the rule.

Boolean

Optional

Type

Specifies the type of presentation.

Valid values:

  • Modern

  • Refresh

  • Legacy

See Remarks.

Enumeration

Required

Child Elements

This element has no attributes.

Parent Elements

 

Element Description

<DisplayRule> (RibbonDiffXml)

Specifies either the definition of a rule used to display a ribbon element or a reference to a DisplayRule from a command definition.

<EnableRule> (RibbonDiffXml)

Specifies either the definition of a rule used to enable or disable a ribbon element or a reference to an EnableRule from a command definition.

<Or> (RibbonDiffXml)

Specifies a set of rules that must be evaluated together.

The Type values correspond to the following:

 

Value Presentation

Modern

The command bar is presented using Microsoft Dynamics CRM for 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 for Microsoft Office Outlook.

 

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

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