web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add current user to mu...
Power Apps
Unanswered

Add current user to multi person combobox in PowerApps

(0) ShareShare
ReportReport
Posted on by 8

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. Looks like comboboxes only works with tables:

 

Set(tableUsers, 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 from collection and merge them with colUsers table?

 

When I tried to use Collect for that I see error:

 

ForAll(collection, Collect(table, { DisplayName: DisplayName, Claims: "..." }))

 

 

Unexpected characters. The formula contains 'Data' where 'Ident' is expected.

 

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard