Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Save multiple combobox selected items to SharePoint

(0) ShareShare
ReportReport
Posted on by 364

Hi All, 

 

I am having an issue uploading multiple values to a SharePoint list. The values come from a list of all users, but are stored in the combobox with function: Filter(_USER, ID = 9 || ID = 21 || ID = 22 || ID = 24 || ID = 40 || ID = 70)

 

When I submit the form, none of my selected values are sent to sharepoint. I have tried to change the update field to something along the lines of: ForAll(DataCardValue2.SelectedItems, {ID: DataCardValue2.SelectedItems.ID, Value: DataCardValue2.SelectedItems.Title})

 

but this gives me an error when I try to submit my form. Does anyone know what I am missing to send these values through? 

 

 

Categories:
  • Verified answer
    Aurora Profile Picture
    364 on at
    Re: Save multiple combobox selected items to SharePoint

    @WarrenBelz 

    I removed and re-added the combobox that contains users in my form, and now the data is being submitted properly. I'm not sure how it happened, but it appears to be working now. 

  • Aurora Profile Picture
    364 on at
    Re: Save multiple combobox selected items to SharePoint

    Hi @WarrenBelz

     

    When I try that I do not get an error, but my users are still not being saved with the rest of the data in my form. I am not sure if the issue is related to something else, I have another form in my app where a user is assigned a "task" and the user is successfully submitted with that form. The code for the update property in that form is just: DataCardValue30.SelectedItems but only one user is selected in this scenario. 

     

    Do you have any additional ideas? 

  • WarrenBelz Profile Picture
    146,524 Most Valuable Professional on at
    Re: Save multiple combobox selected items to SharePoint

    Hi @Aurora ,

    Try this

    ForAll(
     DataCardValue2.SelectedItems As aUpdate, 
     {
     ID: aUpdate.ID, 
     Value: aUpdate.Title
     }
    )

     

    Please click Accept as solution 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 giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard