Hi I have a button I created through ribbon workbench, it is on the Contacts page.
When I select the button, I would like to create a call record for that contac, fill out from and to and some lookupfield and navigate to the record. I attempted and ran into some JavaScript problem.
/regardingobjectid_contact@odata.bind/: //contacts(/ + contactId + /)/,
/lookupcontact@odata.bind/: //contacts(/ + contactId + /)/,
/phonecall_activity_parties/: [
{
/partyid@odata.bind/: //systemusers(/ + userId + /)/,
/participationtypemask/: 1 // From
},
{
/partyid@odata.bind/: //contacts(/ + contactId + /)/,
/participationtypemask/: 2 // To
}
My issue is with the lookupcontact@odata.bind, I tried lookupcontact_contact@odata.bind but that did not work as well. The first lookup regardingobjectid works, but I get no perotyu balue was found in the payloud.
Thanks for any help!