<FormTypeRule> (RibbonDiffXml)

適用於: CRM 2015 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:

  • Main

  • Preview

  • AppointmentBook

  • Dashboard

  • Quick

  • QuickCreate

See Remarks.

Enumeration

Required

子元素

此元素沒有屬性。

上層元素

Element Description

<DisplayRule> (RibbonDiffXml)

指定用於顯示功能區元素或命令定義中 DisplayRule 參照的規則定義。

<Or> (RibbonDiffXml)

指定一組必須同時評估的規則。

備註

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

//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/FormTypeRule |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or/FormTypeRule 

Schema Name

FormTypeRule

Validation File

RibbonTypes.xsd

Can be Empty

Yes

請參閱

其他資源

Ribbon XML reference
自訂命令和功能區

Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.