Partilhar via


<dependency> (FormXml)

Aplica-se a: CRM 2015 on-prem, CRM Online

Especifica um atributo necessário ao código em um evento.

Sintaxe

<dependency id="String"/>

Atributos e 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 filho

Este elemento não tem elementos filho.

Elemento pai

Element Description

<dependencies> (FormXml)

Contém as dependências de um evento.

<externaldependencies> (FormXml)

Contém dependências que representam campos que não podem ser removidos do formulário.

Comentários

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

Exemplo

The following shows an example of the dependency element.

<dependency id="transactioncurrencyid" />

Informações do 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

Consulte também

Conceitos

Personalizar formulários de entidade

Outros recursos

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.