共用方式為


<form> (FormXml)

適用於: CRM 2016 on-prem, CRM Online

包含表單的定義。

語法

<form
 addedby="String"
 enablerelatedinformation=["0" | "1" | "true" | "false"]
 hasmargin=["0" | "1" | "true" | "false"] maxWidth="Integer"
 relatedInformationCollapsed=["0" | "1" | "true" | "false"] showImage=["0" | "1" | "true" | "false"] >
 shownavigationbar=["0" | "1" | "true" | "false"] >
 <ancestor/>
 <clientresources />
 <DisplayConditions />
 <events />
 <externaldependencies />
 <footer />
 <formLibraries />
 <formparameters />
 <header />
 <hiddencontrols />
 <Navigation />
 <RibbonDiffXml />
 <tabs />
</form>

屬性和元素

The following describes the attributes, child elements, and parent elements.

屬性

Attribute Description Type Usage

enablerelatedinformation

Controls whether the Form Assistant is enabled. The default value is false.

Boolean

Optional

relatedInformationCollapsed

Controls whether the Form Assistant pane is expanded by default. The default value is false.

Boolean

Optional

maxWidth

Specifies a maximum width for the form in pixels. This value must be greater than or equal to 400.

Integer

Optional

hasmargin

For internal use only.

Boolean

Optional

addedby

Identifies the name of the ISV or customizer that added the element.

String

Optional

showImage

Controls whether the entity image is displayed. The default value is false.

Boolean

Optional

shownavigationbar

Sets whether the navigation area of the form is displayed.

Boolean

Optional

子元素

Element Description

<Ancestor> (FormXml)

包含表單建立來源的更新使用者體驗表單識別碼。

<clientresources> (FormXml)

包含表單中所含的檔案和指令碼物件。

<DisplayConditions> (FormXml)

包含必須符合之任何資訊安全角色成員資格條件的定義,才能顯示表單。

<events> (FormXml)

包含儲存格或表單的所有事件定義。

<externaldependencies> (FormXml)

包含相依性,代表無法從表單移除的欄位。

<footer> (FormXml)

在表單底端顯示唯讀資訊。

<formLibraries> (FormXml)

包含可在表單中使用的 JavaScript 程式庫。

<formparameters> (FormXml)

包含表單接受的自訂參數定義。

<header> (FormXml)

在表單頂端顯示唯讀資訊。

<hiddencontrols> (FormXml)

僅供內部使用。

<Navigation> (FormXml)

包含表單頁面中顯示之導覽選項的定義。

<RibbonDiffXml> (FormXml)

指定表單的自訂功能區動作。

<tabs> (FormXml)

包含表單的索引標籤定義。

上層元素

Element Description

<systemform> (FormXml)

包含表單和支援資料的定義。

元素資訊

Schema Type

FormType

Validation File

customizationSolution.xsd

Number of Occurrences

1

XPath

//FormXml/forms/systemform/form

請參閱

概念

自訂實體表單

其他資源

Form XML reference

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