<OptionSetRule> (RibbonDiffXml)
应用到: CRM 2016 on-prem, CRM Online
仅供内部使用。
语法
<OptionSetRule
Default=["0" | "1" | "true" | "false"]
InvertResult=["0" | "1" | "true" | "false"]
OptionSet = "String"
StateCode = "String"
ObjectTypeCode = "String"
/>
属性和元素
The following table lists the attributes, child elements, and parent elements.
属性
Attribute | Description | Type | Usage |
---|---|---|---|
Default |
如果无法确定实际值,则设置规则的默认返回值。 |
Boolean |
Optional |
InvertResult |
对此规则的返回值求反。 |
Boolean |
Optional |
OptionSet |
仅供内部使用。 |
String |
Required |
StateCode |
仅供内部使用。 |
String |
Required |
ObjectTypeCode |
仅供内部使用。 |
String |
Required |
子元素
此元素不具有属性。
父元素
Element | Description |
---|---|
指定用于显示功能区元素的规则定义或指定对命令定义中的 DisplayRule 的引用。 |
|
指定一组必须一起评估的规则。 |
备注
Use <ValueRule> (RibbonDiffXml) instead of this.
元素信息
XPath |
|
Schema Name |
OptionSetRuleType |
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |
另请参阅
其他资源
Ribbon XML reference
自定义命令和功能区
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.