应用到: CRM 2016 on-prem, CRM Online
指定用于检测 Microsoft Dynamics CRM 窗体类型的规则。
语法
<FormTypeRule
 Default=["0" | "1" | "true" | "false"]
 InvertResult=["0" | "1" | "true" | "false"]
 Type=["Main" | "Preview" | "AppointmentBook" | "Dashboard" | "Quick" | "QuickCreate"] 
/>
属性和元素
The following table lists the attributes, child elements, and parent elements.
属性
| Attribute | Description | Type | Usage | 
|---|---|---|---|
| Default | 如果无法确定实际值,则设置规则的默认返回值。 | Boolean | Optional | 
| InvertResult | 对此规则的返回值求反。 | Boolean | Optional | 
| Type | Specifies the type of form. Valid values: 
 See Remarks. | Enumeration | Required | 
子元素
此元素不具有属性。
父元素
| Element | Description | 
|---|---|
| 指定用于显示功能区元素的规则定义或指定对命令定义中的 DisplayRule 的引用。 | |
| 指定一组必须一起评估的规则。 | 
备注
The Type values correspond to the following:
| Value | Presentation | 
|---|---|
| Main | An entity form displayed in the application. | 
| Preview | The entity preview form displayed as an expanding element in the grid. | 
| AppointmentBook | Used with the appointment, equipment, serviceappointment, and systemuser entities for the Service Scheduling user interface. | 
| Dashboard | The form defines a dashboard. | 
| Quick | A quick view form. | 
| QuickCreate | A quick create form. | 
元素信息
| XPath |  | 
| Schema Name | FormTypeRule | 
| 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.