Partager via


<dependency> (FormXml)

S'applique à: CRM 2015 on-prem, CRM Online

Spécifie un attribut requis par code dans un événement.

Syntaxe

<dependency id="String"/>

Attributs et éléments

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

Attributs

Attribute Description Type Usage

id

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

String

Optional

Éléments enfants

Cet élément n'a pas d'élément enfant.

Éléments parents

Element Description

<dependencies> (FormXml)

Contient les dépendances pour un événement.

<externaldependencies> (FormXml)

Contient les dépendances représentant des champs ne pouvant pas être supprimés du formulaire.

Remarques

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

Exemple

The following shows an example of the dependency element.

<dependency id="transactioncurrencyid" />

Informations sur l'élément

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

Voir aussi

Concepts

Personnaliser les formulaires d’entités

Autres ressources

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.