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 / Patch updates to a dif...
Power Apps
Answered

Patch updates to a different datasource

(0) ShareShare
ReportReport
Posted on by 9

Hello,

 

I have to build an app containing a gallery and a form which are connected to datasource "Table1" (an excel file) and I have a button to patch the updates to a different datasource "List2" (a SharePoint list).

Basically I load the info from Table1 and want to save it to List2. Column schema from Table1 is in List2, but List2 has additional columns.

The Button is giving the error "The specified column x does not exist" but the column exists with same name and same type. OnSelect of the button is: Patch('Common Report PoC',Defaults('Common Report PoC'),varFormData,Form2.Updates)

 

I can't find a way to save the data loaded from excel to SP list. Please help

Thank you,

Emanuel

Categories:
  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @EmanuelArcas ,
    What is there in varFormData?

    Try updating fields individually instead of using FormName.Updates function - 
    Patch('Common Report PoC', Defaults('Common Report PoC') , {Title: TextInput1.Text, Status: {Value: Dropdown1.Selected.Value} })

  • EmanuelArcas Profile Picture
    9 on at

    The varFormData is the variable I use to open specific item from the gallery into the form.

    Thanks for the solution. Updating the field individually works

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard