Del via


<dependency> (FormXml)

Gælder for: CRM 2015 on-prem, CRM Online

Angiver en attribut, der kræves af koden i en hændelse.

Syntaks

<dependency id="String"/>

Attributter og elementer

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

Attributter

Attribute Description Type Usage

id

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

String

Optional

Underordnede elementer

Dette element har ingen underordnede elementer.

Overordnede elementer

Element Description

<dependencies> (FormXml)

Indeholder afhængighederne for en hændelse.

<externaldependencies> (FormXml)

Indeholder afhængigheder, der repræsenterer felter, som ikke kan fjernes fra formularen.

Bemærkninger

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

Eksempel

The following shows an example of the dependency element.

<dependency id="transactioncurrencyid" />

Elementoplysninger

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

Se også

Begreber

Tilpasning af objektformularer

Andre ressourcer

Form XML reference

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