Compartir a través de


<dependency> (FormXml)

Se aplica a: CRM 2016 on-prem, CRM Online

Especifica un atributo necesario por el código en un evento.

Sintaxis

<dependency id="String"/>

Atributos y elementos

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

Atributos

Attribute Description Type Usage

id

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

String

Optional

Elementos secundarios

Este elemento no tiene elementos secundarios.

Elementos primarios

Element Description

<dependencies> (FormXml)

Contiene dependencias de un evento.

<externaldependencies> (FormXml)

Contiene dependencias que representan campos que no se pueden quitar del formulario.

Comentarios

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

Ejemplo

The following shows an example of the dependency element.

<dependency id="transactioncurrencyid" />

Información del elemento

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

Vea también

Conceptos

Personalizar los formularios de entidad

Otros recursos

Form XML reference

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