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!!

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 200 members 3,136 guests
Please welcome our newest community members: