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 / Set DefaultSelectedIte...
Power Apps
Answered

Set DefaultSelectedItems to people from SharePoint list

(0) ShareShare
ReportReport
Posted on by 160
I have a modern multiselect combobox setup for picking people. All of this works.
 
I have a variable varCurrentRecord which has the list item I want to work on. In this variable is a multiselect people column. I would like to take those values and populate the combobox on my form. I've tried just the generic varCurretRecord.Party in the DefaultSelectedItems but it gives me an error.
 
How can I get my varible to select the right individuals in this combobox? 
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    I have a blog setting out all the variations, depending on the Items of the Combo Box. Happy to elaborate further if I have your code if the blog does not cover it in your scenario,
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
     
     
  • Suggested answer
    Vish WR Profile Picture
    3,748 on at
     

    For a modern multi-select People ComboBox in Power Apps, the key is that DefaultSelectedItems must match the same record structure as the ComboBox Items (usually SharePoint/Office 365 user records).

     
    DefaultSelectedItems =
    ForAll(
        varCurrentRecord.Party,
        {
            DisplayName: DisplayName,
            Email: Email,
            Claims: Claims
        }
    )
     
    Vishnu WR
     
    Please âœ… Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard