Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

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.