I have spent two days tring to solve this issue but unfortunately I couldnot.
Here i have sharepoint list Members with column group and emails.
emails is a person data type and the column is multi email enabled.
Now I want to save from combox user lists to my list.
Office365Users.SearchUser({searchTerm:Combobox1.SearchText}).DisplayName
I have put the above code in the combox, and displays the list of users available in my organization.
Multiselect of the combox is enabled.
Now I want to patch the selected persons from combox into my list.
ClearCollect(emailTo, Combobox1.SelectedItems); //collect current attendees
Collect(emailTo,
{
'@odata.type': "#Microsoft​.Azure.Connectors.SharePoint.SPListExpandedUser",
Department: "",
Claims: "i:0#.f|membership|" & User().Email,
DisplayName: User().FullName,
Email: User().Email,
JobTitle: "",
Picture: ""
});
Patch(members, Defaults(members),
{
group:gourptxt.Text,
emails:emailTo
}
);the above code always saves my emails, eventhough i select multiple person from the combobox.
so how can I patch multiple person selected from combox into sharepoint list using patch?

Report
All responses (
Answers (