Dela via


<columnset> (SavedQuery)

 

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

Describes a group of columns to return when columnsetxml is used in a saved query.

Syntax

<columnset 
 distinct=["0" | "1" | "true" | "false"]
 version="String">
 <ascend />
 <column />
 <descend />
 <filter />
</columnset>

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

distinct

Not used.

Boolean

Optional

version

Deprecated.

String

Optional

Child Elements

Element

Description

<column> (SavedQuery)

Describes a field returned in a saved query using columnsetxml.

<ascend> (SavedQuery)

Specifies the attribute (column) in the columnset that will be sorted in ascending order.

<descend> (SavedQuery)

Specifies the attribute (column) in the columnset that will be sorted in descending order.

<filter> (Fetch XML)

Used for constructing complex conditionals.

Parent Elements

Element

Description

<columnsetxml> (SavedQuery)

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

Element Information

Schema Type

complexType

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or 1

XPath

//Entity/SavedQueries/savedqueries/savedquery/columnsetxml/columnset

See Also

Saved query XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright