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
Super User
Super User

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
Super User
Super User

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
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 (3,213)