Share via


<CrmOutlookClientVersionRule> (RibbonDiffXml)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Detects the version of Microsoft Dynamics 365 for Microsoft Office Outlook.

Syntax

<CrmOutlookClientVersionRule 
 Build="Integer"
 Default =["0" | "1" | "true" | "false"]
 InvertResult =["0" | "1" | "true" | "false"]
 Major="Integer"
 Minor="Integer"
 Revision="Integer"
 />

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

Major

The major version number. Valid values are 4 and 5.

Integer

Required

Minor

The minor version number. This is a single digit.

Integer

Optional

Build

The build number. This is a four-digit number.

Integer

Optional

Revision

The revision number. This is a single-digit number.

Integer

Optional

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

Child Elements

This element has no child elements.

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.

Element Information

XPath

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

Schema Name

CrmOutlookClientVersionRuleType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright