<OutlookRenderTypeRule> (RibbonDiffXml)

 

Updated: November 29, 2016

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

A rule that can detect whether a form or list item is rendered as a web page or natively in Outlook in order to determine if a ribbon element should be displayed.

<OutlookRenderTypeRule 
 Default =["0" | "1" | "true" | "false"]
 InvertResult =["0" | "1" | "true" | "false"]
 Type=["Web" | "Outlook"]  
 />

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

Type

Specifies the type of section.

Valid values:

Value

Definition

Web

The form or list item is rendered as a webpage.

Outlook

Specifies that the form or list item is rendered natively in Outlook.

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/OutlookRenderTypeRule

Schema Name

OutlookRenderTypeRuleType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: