Announcements
Patch( 'Your SharePoint List', // 'Your SharePoint List' - Replace with your SharePoint List ThisItem, { Status: "Approved" } //Status - Replace with your column name )
This only updates that row.
Patch( 'Your SharePoint List', //'Your SharePoint List' - Replace with your SharePoint List. {ID:Gallery1.Selected.ID},//Gallery1 - Replace with your Gallery Control Name. { Status: "Approved" } //Status - Replace with your SharePoint List Column. )
Replace Gallery1 with your gallery name.
Hope that helps.
If you’re still stuck, please share your current setup (gallery/form, where the button sits, and how Status is configured). That’ll make it easier to give an exact formula for your case.
Patch('KW Test List',CurrentItem, {Status: "Approved"}) I also tried: Patch('KW Test List',{ID:Table1.Selected.ID},{Status:"Approved"})
Patch('KW Test List',CurrentItem, {Status:{Value: "Approved"}}) I also tried: Patch('KW Test List',{ID:Table1.Selected.ID},{Status:{Value:"Approved"}})
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290