<dependency> (FormXml)

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

指定事件中程式碼所需的屬性。

語法

<dependency id="String"/>

屬性和元素

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

屬性

Attribute Description Type Usage

id

Specifies the ID of a field that cannot be removed from the form while the dependency exists.

String

Optional

子元素

此元素沒有子元素。

上層元素

Element Description

<dependencies> (FormXml)

包含事件的相依性。

<externaldependencies> (FormXml)

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

備註

With the <externaldependencies> (FormXml) element, at least one dependency must exist. With the <dependencies> (FormXml) element, a dependency is not required.

範例

The following shows an example of the dependency element.

<dependency id="transactioncurrencyid" />

元素資訊

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 or more

XPath

//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/events/event/InternalHandlers/Handler/dependencies/dependency |
//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/events/event/Handlers/Handler/dependencies/dependency |
//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/events/event/dependencies/dependency |
//FormXml/forms/systemform/form/externaldependencies/dependency

請參閱

概念

自訂實體表單

其他資源

Form XML reference

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