cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Edit row sharepoint list

Hello all!

 

I'm newbie on Power apps and in my app I need to edit a single row on sharepoint.

 

For example, i have the list and app below:

App:

henriquemss_0-1595421285352.png   

 

List:

henriquemss_1-1595421309655.png

 

When i click on "APROVAR" on my app, i need to add "OK" on colunm "STATUS".

 

I really don't know how to do it and i search all google and don't found anything useful 😞

 

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
KrishnaV
Community Champion
Community Champion

hi @Anonymous ,

 

Try this:

I am assuming your status column is a choice filed in SharePoint list.

Patch(SpListName,Defaults(SpListName),{status:{Value:"OK"}})

 
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP, Microsoft Certified Trainer
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

1 REPLY 1
KrishnaV
Community Champion
Community Champion

hi @Anonymous ,

 

Try this:

I am assuming your status column is a choice filed in SharePoint list.

Patch(SpListName,Defaults(SpListName),{status:{Value:"OK"}})

 
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP, Microsoft Certified Trainer
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

Helpful resources

Announcements
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.

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