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 Apps
Unanswered

New Patch Bug?

(0) ShareShare
ReportReport
Posted on by 13

Hey guys, hope you're doing well

 

i always create a collecion with my database, do whatever i need and then patch it, as a batch.

 

with no reason, a new error start showing. Any advice?

 

 

Clear(colTemasRef);;
Collect(
 colTemasRef;
 Referência
);;
Patch(
 Referência;
 colTemasRef
)

 

 

 

MathSicredi1_0-1715112282208.png

 

 

Categories:
I have the same question (0)
  • Fredrik_A Profile Picture
    3,403 Super User 2026 Season 1 on at

    *I was wrong*Don't think you can patch like that, try doing it as below:

     

    Patch(
     SharePointList,
     ForAll(collection,
     Defaults(SharePointList)
     ),
     ShowColumns(collection,
     "Column1",
     "Column2",
     ...)
    )

     

    EDIT: You actually can, you live and you learn, it appears the following conditions must be true though:

     

    CollectionOfChanges must have at least two columns: one column with the matching ID found in the datasource and one or more columns having the values to be changed. All column names must be exactly the same as the datasource. Performance gains achieved will become greater as the number of records in the collection increases.

     

    See here for more info: PATCH Multiple Records In Power Apps 10x Faster - Matthew Devaney 

     

  • MathSicredi1 Profile Picture
    13 on at

    i know i can do it.. like i said, i always use this batch function lol

     

    the issue is a new error started showing with no reason. No parameters were adjusted or permissions on my sharepoint list

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard