Retrieves data from Microsoft Dynamics CRM entities.

The RetrieveMscrmRecords() function has five parameters:

  • entityName (string): Required. The name of the Microsoft Dynamics CRM entity to retrieve records from.
  • fieldsToRetrieve (string): Required. A comma-separated list of fields to retrieve.
  • queryFieldName (string): Required. The name of the field to filter on.
  • queryFieldOperator (string): Required. The operator to use for the filter.
  • queryFieldValue (string): Required. The value to filter on.

This example retrieves the contact ID, first name, and last name for all contacts where the last name is Santos.