How to set a partylist with javascript

Party List :

  • Party List is a data type in CRM, using which you can set more than one records of an entity for a single field.
  • Party List type field, renders as Lookup on the form, but it works as multi select lookup.
  • We can’t create a custom party list fields.

Function to set  Call To in a Phone Call Activity (tested on CRM 2015 Update 1 Online):