Compartilhar via


<returnedtypecode> (SavedQuery)

 

Applies To: Dynamics CRM 2013

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