cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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!!