Споделяне чрез


<savedquery> (SavedQuery)

 

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

Defines a saved query.

Syntax

<savedquery>
 <CanBeDeleted />
 <columnsetxml />
 <conditionalformatting />
 <Descriptions />
 <fetchxml />
 <IsCustomizable />
 <isdefault />
 <isprivate />
 <isquickfindquery />
 <layoutxml />
 <LocalizedNames />
 <queryapi />
 <querytype />
 <returnedtypecode />
 <savedqueryid />
</savedquery>

Attributes and Elements

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

Attributes

This element has no attributes.

Child Elements

Element

Description

<CanBeDeleted> (SavedQuery)

Specifies whether the view can be deleted.

<columnsetxml> (SavedQuery)

Defines a set of columns to return in a saved query.

<conditionalformatting> (SavedQuery)

Specifies the conditional formatting of this view.

<Descriptions> (SavedQuery)

Specifies a group of descriptions for different languages.

<fetchxml> (SavedQuery)

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

<IsCustomizable> (SavedQuery)

Indicates that the saved query is customizable.

<isdefault> (SavedQuery)

Indicates that the saved query represents the default view of an entity.

<isprivate> (SavedQuery)

This element is deprecated.

<isquickfindquery> (SavedQuery)

Indicates whether the saved query represents a Quick Find view.

<layoutxml> (SavedQuery)

Defines a grid that displays results from the saved query.

<LocalizedNames> (SavedQuery)

Specifies a group of LocalizedName elements for the saved query.

<queryapi> (SavedQuery)

For internal use only.

<querytype> (SavedQuery)

Describes the type of the query.

<returnedtypecode> (SavedQuery)

Describes the entity information returned using the entity type code.

<savedqueryid> (SavedQuery)

Defines an ID value for a saved query.

Parent Elements

Element

Description

<savedqueries> (SavedQuery)

Groups all the saved queries.

Element Information

Schema Type

String

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or more

XPath

//Entity/SavedQueries/savedqueries/savedquery

See Also

Saved query XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright