共用方式為


<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.