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 / Save all people in Com...
Power Apps
Answered

Save all people in ComboBox to a multi person field in sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I've been trying to save all the people in my combobox to a multi person field in a sharepoint list.  The code I have below only saves one of the people in my combobox.  Any help on what I am doing wrong would be appreciated.

 

Patch(RFQAList, RFQAGallery.Selected,
    {Title: "RFQA", 
     SendEmails: ForAll(NotificationComboBox_1.SelectedItems,
        {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
        Claims:"i:0#.f|membership|" & NotificationComboBox_1.Selected.Email,
        Department:"",
        DisplayName:NotificationComboBox_1.Selected.DisplayName,
        Email:NotificationComboBox_1.Selected.Email,
        JobTitle:"",
        Picture:""})})

Categories:
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Anonymous 

     

    To achieve this, you can update the Itens prrperty of the combobox as:
     
    Choices(SPListName.ColumnName)
     
    Now, the patch can be updated to:
     
    Patch(RFQAList, RFQAGallery.Selected,
        {Title: "RFQA", 
         SendEmails: Combobox1.SelectedItems})
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks!  I already had the Items set as you suggested.  I just needed to simplify my Patch command.  It works now!

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard