Κοινή χρήση μέσω


<OrganizationSettingRule> (RibbonDiffXml)

 

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

A rule that can detect two specific organization settings within a DisplayRule.

Syntax

<OrganizationSettingRule 
 Default=["0" | "1" | "true" | "false"]
 InvertResult=["0" | "1" | "true" | "false"]
 Setting=["IsSharepointEnabled" |"IsSOPIntegrationEnabled" | "IsFiscalCalendarDefined"] 
 />

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

Setting

Specifies that a ribbon element should be displayed only if specific organization settings are enabled.

Valid values:

Value

Description

IsSharepointEnabled

The organization is using SharePoint integration.

IsSOPIntegrationEnabled

The organization setting to enable Sales Order Processing is set. This indicates that Microsoft Dynamics 365 is integrated with a system to connect quotes, orders, and invoices with an inventory or financial accounting system.

IsFiscalCalendarDefined

Indicates that a Fiscal Calendar is defined. A Fiscal Calendar is a prerequisite for features like quotas.

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.

Element Information

XPath

//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrganizationSettingRule

Schema Name

OrganizationSettingRuleType

Validation File

RibbonTypes

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright