Hi All,
I need help in setting party-list types for party list of field "Optional(Optional Attendees)" in Appointment Entity. As of now,we have datatypes : Contacts,account.
I used following code.
var parties = [];
var receiver1 = {};
receiver1["optionalattendees@odata.bind"] = "/contacts(" + customerID + ")";
parties.push(receiver1);
eEntity["serviceappointment_activity_parties"] = parties;
qry = GetWebAPIUrl() + entityName.toLowerCase() + "s";
var activityID = CreateRecord(qry, eEntity);
I tried all methods for setting party-list types by default (unsupported way) - JavaScript.
I think my mistake this line.which field used for Optional Attendees field
receiver1["optionalattendees@odata.bind"] = "/contacts(" + customerID + ")";
Still unable to work on this party list with this field.
Can anyone help me to solve this problem ?
*This post is locked for comments