Aracılığıyla paylaş


<SkuRule> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2015

A rule that detects the Microsoft Dynamics CRM edition.

Syntax

<SkuRule 
 Default =["0" | "1" | "true" | "false"]
 InvertResult =["0" | "1" | "true" | "false"]
 Sku =[" OnPremise" | " Online" | " Spla"]
 />

Attributes and Elements

The following describes 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

Sku

The version of Microsoft Dynamics CRM 2015 to check.

Valid values:

Value

Description

OnPremise

Microsoft Dynamics CRM 2015.

Online

Microsoft Dynamics CRM Online. The edition of Microsoft Dynamics CRM 2015 hosted by Microsoft.

Spla

Microsoft Dynamics CRM 2015 Service Provider License Agreement. An edition of Microsoft Dynamics CRM 2015 hosted by Microsoft Partners.

Enumeration

Required

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/SkuRule
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/SkuRule
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or/SkuRule
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or/SkuRule

Schema Name

SkuRuleType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon

© 2016 Microsoft. All rights reserved. Copyright