Hello, i have a problem that i am struggling with.
I have a Combobox in my App:
Items:
Filter(Office365Users.SearchUser({searchTerm:ProjectCoreTeam_input.SearchText}),AccountEnabled=true,Not(IsBlank(Mail)),Not(IsBlank(Department)),Not(IsBlank(JobTitle)))
DefaultselectedItems
If(
varItem.ReqTyp = "Request",varItem.Members,
ForAll(Filter(Split(varItem.ProjectCoreTeam,";"),!IsBlank(Result)),
First(Office365Users.SearchUserV2({searchTerm:Result,top:1}).value)
)
)
this works fine!
However i am now trying to Patch it to my SPO List.
The Multi person field is being patched like this and works fine:
ForAll(ProjectCoreTeam_input.SelectedItems,
Collect(Peoples,
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Claims: "i:0#.f|membership|" & Lower(First(Office365Users.SearchUser({searchTerm:ThisRecord.DisplayName}).Mail).Mail),
Department: "",
DisplayName: ThisRecord.DisplayName,
Email: ThisRecord.Mail,
JobTitle: "",
Picture: ""
}
)
);
i am now trying to also patch a single line of text field with the info of the Member Emails. but just the emails comma separated.
Concat(ProjectCoreTeam_input.SelectedItems.Mail,Concatenate(Text(Mail),";"))
This works if i select all items fresh without any default item selected. Not with default items already in the combobox.
How can i achieve this?
BR Niklas