<OptionSetRule> (RibbonDiffXml)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
For internal use only.
Syntax
<OptionSetRule
Default=["0" | "1" | "true" | "false"]
InvertResult=["0" | "1" | "true" | "false"]
OptionSet = "String"
StateCode = "String"
ObjectTypeCode = "String"
/>
Attributes and Elements
The following table lists 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 |
OptionSet |
For internal use only. |
String |
Required |
StateCode |
For internal use only. |
String |
Required |
ObjectTypeCode |
For internal use only. |
String |
Required |
Child Elements
This element has no attributes.
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. |
Remarks
Use <ValueRule> (RibbonDiffXml) instead of this.
Element Information
XPath |
|
Schema Name |
OptionSetRuleType |
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |
See Also
Ribbon XML reference
Customize commands and the ribbon
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright