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 / update a SPlist with a...
Power Apps
Unanswered

update a SPlist with a collectio

(1) ShareShare
ReportReport
Posted on by 2
Hello,
I'm busy on this topic since a few days and i don't find any solution.
I have a SP list (450 items) and a collection that the user creates in order to change only the items the users want to.
The collection contains only one column named ID with the ID i want to change in the SP list.
example:
ID
100
105
109
 
See the code i try to use but without success :(
 
ForAll(mycollection,
Patch('mySPlist',ID=ThisRecord.ID,
{Choice1:Dropdown3_1}))
 
It give me an issue with the ID=Thisrecord.ID  
invalid argument type boolean. Expect a value record instead.
 
If anyone has an idea to do it or to convert the ID of the collection
I have the same question (0)
  • WarrenBelz Profile Picture
    154,889 Most Valuable Professional on at
    You need the control output (I have assumed .Value here, but may be a field name depending on the Items ). The structure below is also far more efficient using a single Patch with a table, rather than individual patches per record.
    Patch(
       'mySPlist',
        ForAll(
           mycollection As _Data,
          {
             ID: _Data.ID,
             Choice1: Dropdown3_1.Selected.Value
          }
       )
    )
     
    Please click 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 giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • WarrenBelz Profile Picture
    154,889 Most Valuable Professional on at
    Just following up to see if you received the answer you needed, or if you require further assistance.

    Please click 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 giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 547

#2
WarrenBelz Profile Picture

WarrenBelz 444 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard