<columnset> (SavedQuery)

 

Updated: November 29, 2016

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.

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

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

Attribute

Description

Type

Usage

distinct

Not used.

Boolean

Optional

version

Deprecated.

String

Optional

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.

Element

Description

<columnsetxml> (SavedQuery)

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

Schema Type

complexType

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or 1

XPath

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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: