cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
codebrane
Resolver I
Resolver I

Patch not working after list recreation

I've seen this a few times on the 'net but no solutions. Deleting the sharepoint list that the powerapp uses, then recreating it causes things to break in the powerapp. One such thing is Patch, which no longer works. The screen can pull data from the list but when I use Patch it doesn't update the list any more. I've removed all data sources from the power app and added the recreated list. The gallery is fine and displays the data but Patch no longer updates it. Is there something I'm missing?

 

thanks,

 

Alistair

 

1 ACCEPTED SOLUTION

Accepted Solutions

Adding First and Filter to the Patch function solves the problem

View solution in original post

4 REPLIES 4
codebrane
Resolver I
Resolver I

Turned out it was due to the nature of the new list. The new list has a field prepopulated so the Patch now has to upsert rather than insert. Now, how to work out how to upsert...

Adding First and Filter to the Patch function solves the problem

v-xida-msft
Community Support
Community Support

Hi @codebrane,

 

Have you solved your problem?

 

If you have solved your problem, please click “Accept as Solution” so that this thread will be marked for other users to easily identify.

 

If you have other questions about PowerApps, please let me know here.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

thanks for the reminder Kris. I didn't think I could accept my own solution. Have done that now.

 

cheers,

 

Alistair

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,159)