0

I need to update multi person combobox with current user account.

I tried to collect previously saved data from SelectedItems property of current SP list record and then merge it with current user's claims via Collect function, but combobox somehow stays empty.

ClearCollect(colUsers, DataCardValue1.SelectedItems);

Collect(colUsers, { Claims: "i:0#.f|membership|" & User().Email, DisplayName: User().FullName });

colUsers property set as Default for DataCardValue1 control.

After that I tried to create a table and assign it as a DefaultSelectedValue for combobox.

Set(colUsers, Table({ Claims: "i:0#.f|membership|" & User().Email, DisplayName: User().FullName }));

It is working, but now I see only my name in combobox. How can I add all existing Users and merge them with colUsers table?

0 Answers0