Compartir a través de


<querytype> (SavedQuery)

 

Applies To: Dynamics CRM 2015

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
a6b5d363-4186-4bc8-a7eb-62f308fa9ef9#BKMK_TypesOfViews

© 2016 Microsoft. All rights reserved. Copyright