I'm trying to set a Task lookup field using the following:
Xrm.Page.getAttribute("new_taskrecord").setValue([{id: TaccountID,
name: TaccountName,
entityType: TaccountLD
}]);
Problem is, I'm not sure what values to fill the above with? What exactly do I need to set the lookup field that resolves to a Task record?