Hi All,
I am trying to patch the Sharepoint people column depending on the if() statement if getting the error below is code
'Reserved By':If(DataCardValue10.Value=false,{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & currentUser.Email,
Department: "",
DisplayName: currentUser.FullName,
Email: currentUser.Email,
JobTitle: "",
Picture: ""
},{
Claims: Concatenate("i:0#.f|membership|", DataCardValue11.SelectedItems.Email),
Department: "",
DisplayName: DataCardValue11.SelectedItems.DisplayName,
Email: DataCardValue11.SelectedItems.Email,
JobTitle: "",
Picture: ""
})
Please help me with anything wrong with the code.
Thanks in Advance.