AddMscrmListMember()

Adds a record—such as a lead, contact, or account—to a Microsoft Dynamics CRM marketing list.

The AddMscrmListMember() function has two parameters:

  • recordGuid (string): Required. The GUID of the record that you want to add to the marketing list.
  • listGuid (string): Required. The GUID of the marketing list that you want to add the record to.

To use the function, pass it the GUID of the record that you want to add, and the GUID of the marketing list to add the record to.

This example adds a lead, contact, or account to a marketing list.

The function doesn’t return a value.