I have a field As Owner (Which Add user name and Email Id also ) in SharePoint List.
and I have a Owner Combo Box in Power Apps. which has a code .
Items = Office365Users.SearchUser({searchTerm:ComboBoxOwner.SearchText}) which gives me User Email address.
But when i am Patch This in My SharePoint Owner gives me Error.
Your Code had worked....!! Correctly Thank You
but it should be "Mail" not "Email"
Owner: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & ComboBoxFacilityManager.Selected.Mail,
Department: "",
DisplayName: ComboBoxFacilityManager.Selected.DisplayName,
Email: ComboBoxFacilityManager.Selected.Mail,
JobTitle: "",
Picture: ""
}
PLease check this
Owner: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & ComboBoxFacilityManager.Selected.Email,
Department: "",
DisplayName: ComboBoxFacilityManager.Selected.DisplayName,
Email: ComboBoxFacilityManager.Selected.Email,
JobTitle: "",
Picture: ""
}
Write this in the owner.