Hi all
I would like to patch a person back to the same SP List but I always get an error. In the DefaultSelectedItems of the dropdown I took ThisItem.Owner. For the Items I took: Office365Users.SearchUser({searchTerm:DataCardValue3.SearchText,top:10}) and in the OnChange properties I took:
UpdateContext({locSelectedUserEmail: Lower(First(DataCardValue3.SelectedItems).Mail),
locSelectedUserDisplayName: First(DataCardValue3.SelectedItems).DisplayName})
My Patch function it looks like this:
Owner: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpanderUser",
Claims: "i:0#.f|membership|" & locSelectedUserEmail,
Department: "",
DisplayName: locSelectedUserDisplayName,
Email: locSelectedUserEmail,
JobTitle: ".",
Picture: "."
},
I guess it has something to do with my DefaultSelectedItems property of the Dropdown but I'm actually stuck now.
Any idea?
Thanks a lot!
Best
Lukas