Jagamisviis:


<querytype> (SavedQuery)

 

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

Describes the type of the query.

Syntax

<querytype formattedvalue="String">Integer</querytype>

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

formattedvalue

Must match the value of the node.

String

Required

Child Elements

This element has no child elements.

Parent Elements

Element

Description

<savedquery> (SavedQuery)

Defines a saved query.

Remarks

The value of the node must use one of the values listed in this table.

Type

Value

Main Application View

0

Advanced Search

1

Associated View

2

Quick find search

4

Lookup View

64

Example

The following code sample shows the use of the querytype element.

<querytype formattedvalue="64">64</querytype>

Element Information

Schema Type

SerializedInteger

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or 1

XPath

//Entity/SavedQueries/savedqueries/savedquery/querytype

See Also

Saved query XML reference
Types of views

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright