The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

RetrieveMscrmRecordsFetchXml()

Returns the attributes specified in a Fetch XML query.

The RetrieveMscrmRecordsFetchXML() has one parameter:

  • fetchXmlQuery (string): Required. A Microsoft Dynamics CRM Fetch XML query.

This function uses a Fetch XML query to retrieve the contact IDs, email addresses, first names, and last names of contacts who have a specific subscriber key.