<querytype> (SavedQuery)

应用到: CRM 2015 on-prem, CRM Online

描述查询的类型。

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

此元素没有子元素。

Parent Elements

Element Description

<savedquery> (SavedQuery)

定义已保存查询。

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

另请参阅

参考

Saved query XML reference
Types of Views

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