cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vish_p
Level 8

Patch/Update Choice column of Multiple sharepoint list items

I wanted to update the status of the records selected by user in my app to "Approved".

I have tried the following formula : 

ForAll(approvalitems,Patch(PO_2,LookUp(ID = approvalitems.ID),{Status : { Value : "Approved",'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"}}))

but it throws me error "The function patch has some invalid arguments".

here 'approvalitems' are filtered items of 'PO_2' sharepoint list based on a certain condition.

And "Status" column is the Choice type column

1 REPLY 1
vish_p
Level 8

Re: Patch/Update Choice column of Multiple sharepoint list items

Request anyone to please respond as this urgent!!

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (5,584)