Hi,
I'm not sure whether this is related to my previous threat, but I got an error while using Patch to update my Sharepoint list whereby the source contain User/People combo box.
So this is my patch code :
Patch(Visit,
{ Title:txtTitle.Text,
Traveler:{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & cboEmpoyee_1.Selected.Mail,
Department:"",
DisplayName: cboEmpoyee_1.Selected.DisplayName,
Email: cboEmpoyee_1.Selected.Mail
},
'Reason For Visits':txtReason_1.Text
}
So, basically I have 3 controls: txtTitle, txtReason_1 which is a single text type, and the cboEmployee_1 is the combo box with User list (People).
And the error is pointing to "DisplayName" which is am using for the combo box which in the end it will update my field in Sharepoint with type of User/people.

Anyone can advice what's wrong with this ? and how to resolve it ?
Thanks,