Announcements
Hello, I have two buttons that I would like to make change the value of a column in my datatable. The choice of this column are "Submitted", "Approved", and "Rejected". I would like to be able to press these buttons to either reject or approve the submission. Here is a screenshot below:
Try
Patch('Employees Activity List', DataTable.Selected, {Status: {Value: "Approved"}})
Make sure that you replace DataTable with the name of your DataTable.
It gave me this error (And thank you so much with your help on my two posts):
I've made some misspelling, Replace Employees with Employee from the code.
Im still getting the same error:
Try change Status to match with the name of Choice column in your SharePoint list.
Its still not taking it:
@Dknight7 ,
What is your data source ? If SharePoint and the actual name of your Choice (not Lookup) column in SharePoint is Status_Column1_1 (which I find unusual), you can do this
Patch( 'Employee Activity List', { ID: DataTable1_1.Selected.ID, Status_Column1_1: {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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 326 Most Valuable Professional
11manish 168
sannavajjala87 75 Super User 2026 Season 1