Del via


<querytype> (SavedQuery)

Gælder for: CRM 2016 on-prem, CRM Online

Beskriver forespørgselstypen.

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

Dette element har ingen underordnede elementer.

Parent Elements

Element Description

<savedquery> (SavedQuery)

Definerer en gemt forespørgsel.

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

Se også

Reference

Saved query XML reference
Types of Views

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.