<ValueRule> (RibbonDiffXml)
適用於: CRM 2015 on-prem, CRM Online
規則,偵測特定欄位的值。
語法
<ValueRule
Default=["0" | "1" | "true" | "false"]
Field="String"
InvertResult=["0" | "1" | "true" | "false"]
Value="String"
/>
屬性和元素
The following describes the attributes, child elements, and parent elements.
屬性
Attribute | Description | Type | Usage |
---|---|---|---|
Default |
設定當無法判斷實際值時,規則的預設傳回值。 |
Boolean |
Optional |
Field |
The name of the form attribute to check. |
String |
Required |
InvertResult |
變換規則傳回值的正負號。 |
Boolean |
Optional |
Value |
指定要做為參數傳遞的值。 |
String |
Required |
子元素
此元素沒有子元素。
上層元素
Element | Description |
---|---|
指定用於顯示功能區元素或命令定義中 DisplayRule 參照的規則定義。 |
|
指定用於啟用或停用功能區元素或命令定義中 EnableRule 參照的規則定義。 |
|
指定一組必須同時評估的規則。 |
備註
For commands defined for subgrid for forms using the updated user experience, value rules cannot be used within display rules. Use this element within an <EnableRule> (RibbonDiffXml) to hide an element.
元素資訊
XPath |
|
Schema Name |
ValueRuleType |
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |
請參閱
其他資源
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.