I've built a Combo box for person selection (name and e-mail) and i'm using this code in the DefaultSeletedItems:
ForAll(
Concatenate(
Filter(
Office365Users.SearchUser({searchTerm:varSelectedItem.COLUMN.Email})
,JobTitle<>Blank()).DisplayName
,Char(13)
,"<"
,Filter(
Office365Users.SearchUser({searchTerm:varSelectedItem.COLUMN.Email})
,JobTitle<>Blank()
).Mail
,">"
)
, {Result: ThisRecord.Value}
)
It works when i only have one person information coming out of the gallery and into the varSelectedItem. But when i have multiple people, i can't display everyone's names and e-mails.
Can anyone help me out?