cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cooper33
Resolver III
Resolver III

Patch function error: The specified column does not exist

I have an Edit Form for a SharePoint list and a button that saves the data. Here is the OnSelect:

Patch('SP List Name', Gallery1.Selected, Form1.Updates)

This was working fine until I updated the SP list to delete a few columns I didn't need anymore. I am now getting 3 errors on the button (last two are the same)

  1. The function 'Patch' has some invalid arguments
  2. The specified column 'DeletedColumnName' does not exsit
  3. The specified column 'DeletedColumnName' does not exsit

I did delete that column but it is not in use anywhere in the PowerApp. I have tried recreating the gallery, refreshing datasource, and recreating the edit form and button. Still getting the error. Is there anything else this could mean?

10 REPLIES 10
RandyHayes
Super User
Super User

@chienhsianghung 

Yes, but as this is an old post...I would not recommend using a Patch with a Forms Updates property today.  A form should only be submitted with the SubmitForm function.  Otherwise you discard all form functionality and features...which is why you have a form!

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,013)