Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

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

Helper V
Helper V

Request anyone to please respond as this urgent!!

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (16,932)