Share via


<fetchxml> (SavedQuery)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Describes the data to return in the saved query using the FetchXML language.

Syntax

<fetchxml>
 <fetch />
</fetchxml>

Attributes and Elements

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

Attributes

This element has no attributes.

Child Elements

Element

Description

<fetch> (Fetch XML)

The definition of a query to execute for the view.

Parent Elements

Element

Description

<savedquery> (SavedQuery)

Defines a saved query.

Element Information

Schema Type

complexType

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or 1

XPath

//Entity/SavedQueries/savedqueries/savedquery/fetchxml

See Also

Saved query XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright