Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

<OutlookItemTrackingRule> (RibbonDiffXml)

Applies To: CRM 2015 on-prem, CRM Online

A rule that detects whether the item is enabled for items tracked in Microsoft Dynamics CRM in order to enable a ribbon element.

<OutlookItemTrackingRule 
 AppliesTo="PrimaryEntity"
 Default=["0" | "1" | "true" | "false"]
 InvertResult=["0" | "1" | "true" | "false"]
 TrackedInCrm=["0" | "1" | "true" | "false"]
 />

The following describes thee attributes, child elements, and parent elements.

Attributes

 

Attribute Description Type Usage

AppliesTo

Determines whether the rule applies to the entity record being displayed in the form or entity records being displayed in a sub-grid.

Valid values:

 

Value Description

PrimaryEntity

For a form or Subgrid ribbon, the rule applies to the entity displayed in the form. This will option does not apply for a Grid Ribbon.

Enumeration

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

TrackedInCrm

Whether the item is tracked inMicrosoft Dynamics CRM.

Boolean

Required

Child Elements

This element has no child elements.

Parent Elements

 

Element Description

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

 

XPath

//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OutlookItemTrackingRule |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or/OutlookItemTrackingRule

Schema Name

OutlookItemTrackingRuleType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

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