cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aurora
Helper III
Helper III

How to update a new SharePoint column with PowerApps

Hi all, 

 

I have an app that tracks hours spent working on engineering projects. The app works as intended and properly updates my SharePoint site, but I just added a new column to the site and am wondering if I need to recreate a new form in my app or if I can use a function to fill out the column without changing anything else. The column just needs the word "Approved" entered in whenever the users press the button that submits a form, no other text is required for this column at this time. 

 

Capture.PNG

Capture1.PNG

 

I appreciate any feedback!

1 ACCEPTED SOLUTION

Accepted Solutions
zmansuri
Super User
Super User

If it's just static operation like that then you just need to write on that button's onClick property or Form's OnSuccess property according to your need:

Patch(ListName,Form3.LastSubmit.ID,{ColumnName: "Approved"});

 

This will go the last record submitted by your app and add "Approved" in that column.

 

OR

 

You can just add that field in the current form from here.

a.jpg

View solution in original post

2 REPLIES 2
zmansuri
Super User
Super User

If it's just static operation like that then you just need to write on that button's onClick property or Form's OnSuccess property according to your need:

Patch(ListName,Form3.LastSubmit.ID,{ColumnName: "Approved"});

 

This will go the last record submitted by your app and add "Approved" in that column.

 

OR

 

You can just add that field in the current form from here.

a.jpg

View solution in original post

PG_WorXz10
Resident Rockstar
Resident Rockstar

Hi @Aurora ,

 

You can go to the Data section and click on the datasource and Refresh. 

 

PG_WorXz10_1-1632833960147.png

Please click Accept as solution 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 Thumbs Up.

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,452)