<RelationshipTypeRule> (RibbonDiffXml)
Applies To: Dynamics CRM 2013
A rule that detects whether a specific type of formal entity relationship exists between two entities.
Syntax
<RelationshipTypeRule
AllowCustomRelationship=["0" | "1" | "true" | "false"]
AllowSystemRelationship=["0" | "1" | "true" | "false"]
AppliesTo="SelectedEntity"
Default=["0" | "1" | "true" | "false"]
InvertResult=["0" | "1" | "true" | "false"]
RelationshipType=["OneToMany" | "ManyToMany" | "NoRelationship"]
/>
Attributes and Elements
The following describes the 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:
|
Enumeration |
Required |
||||||||
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 |
||||||||
RelationshipType |
Describes the type of entity relationship to check. Valid values:
|
Enumeration |
Required |
Child Elements
This element has no child elements.
Parent Elements
Element |
Description |
---|---|
Specifies either the definition of a rule used to display a ribbon element or a reference to a DisplayRule from a command definition. |
|
Specifies a set of rules that must be evaluated together. |
Element Information
XPath |
|
Schema Name |
RelationshipTypeRuleType |
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |