You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rescocrm edited this page Aug 2, 2024
·
10 revisions
Performs the asynchronous CRM Fetch command.
Arguments
Argument
Type
Description
fetchXmlData
String
CRM fetch in XML representation.
success
function(result)
A callback function for successful asynchronous result. The result argument will carry the objects array of type specified by resultformat XML attribute (Array, JSON, XML or DynamicEntities).
failed
function(error)
A callback function for command failure. The error argument will carry the error message.
scope
A scope for calling the callbacks; set "null" to call the callbacks in global scope.
This example demonstrates how to fetch a list of accounts and process their names using XML fetch query.