共用方式為


<externaldependencies> (FormXml)

 

Applies To: Dynamics CRM 2013

Contains dependencies that represent fields that cannot be removed from the form.

Syntax

<externaldependencies>
 <dependency />
</externaldependencies>

Attributes and Elements

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

Attributes

This element has no attributes.

Child Elements

Element

Description

<dependency> (FormXml)

Specifies an attribute that is required by code in an event.

Parent Elements

Element

Description

<form> (FormXml)

Contains the definition of a form.

Remarks

The <dependency> (FormXml) element is a required child of this element.

External dependencies are set in the form properties Non-Event Dependencies tab. Each event has an area where dependencies may be recorded that are specific to that event. External dependencies are not related to a specific form or field event. For example, if you are setting the default value of a field by using a query string to open a form for a new record, or if the target of an IFrame or a Web Resource dialog reads data from the form.

Element Information

Schema Type

FormXmlExternalDependenciesType

Validation File

FormXml.xsd

Number of Occurrences

0 or 1

XPath

//FormXml/forms/systemform/form/externaldependencies

See Also

Customize entity forms
Form XML reference
Set field values using parameters passed to a form