Поделиться через


<returnedtypecode> (SavedQuery)

 

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

Describes the entity information returned using the entity type code.

Syntax

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

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

formattedvalue

Formatted value of the node.

String

Optional

Child Elements

This element has no child elements.

Parent Elements

Element

Description

<savedquery> (SavedQuery)

Defines a saved query.

Remarks

The Entity Type Code corresponds to the EntityMetadata. ObjectTypeCode. For custom entities this value may be different for each organization so it is not recommended as a unique identifier for an entity.

Example

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

<returnedtypecode formattedvalue="1,090">1090</returnedtypecode>

Element Information

Schema Type

SerializedInteger

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or 1

XPath

//Entity/SavedQueries/savedqueries/savedquery/returnedtypecode

See Also

Saved query XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright