Skip to content

MobileCRM.FetchXml.Fetch

rescocrm edited this page Feb 10, 2025 · 5 revisions

MobileCRM.FetchXml.Fetch Object

Represents a FetchXml query object.

Properties

Property Type Description
aggregate Boolean Indicates whether the fetch is aggregated.
count int the maximum number of records to retrieve.
entity MobileCRM.FetchXml.Entity An entity object.
page int 1-based index of the data page to retrieve.
distinct Boolean Whether to return only distinct (different) values.

Methods

Method Description
constructor Constructs an instance of MobileCRM.FetchXml.Fetch object.
execute Performs the asynchronous CRM Fetch request.
executeAsync Performs the asynchronous CRM Fetch request.
executeOffline [v8.0] Performs the offline CRM Fetch request regardless of the app online/offline mode.
executeOnline [v8.0] Performs the online CRM Fetch request regardless of the app online/offline mode.
serializeToXml [v10.0] Serializes the Fetch object to XML.
serializeToXmlAsync [v10.0] Serializes the Fetch object to XML.

Functions

Function Description
deserializeFromXml Deserializes the Fetch object from XML.
deserializeFromXmlAsync Deserializes the Fetch object from XML.
executeFromXML Performs the asynchronous CRM Fetch command.
executeFromXmlAsync Executes fetch XML asynchronously.
Clone this wiki locally