cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Error while Using Patch , FOR All- ETAG Mismatch

Hello Dears,

 

I have been struggling with the error "ETAG Mismatch" for a couple of weeks now.

 

Here is what i am doing , i have a custom Gallery , where i have some fields that i need to edit on the fly so for example i have a Date Picker on the Gallery and using this code on the OnSelect Event:

Patch('ListNameInSharepoint',ThisItem,{From:FromDate.SelectedDate})

 

i am also at the end doing a bulk update to my Collection using For All and Patch as below:

ForAll(myLoadedCollection,Patch('myDataSource',LookUp('myDataSource', ID = myLoadedCollection[@ID]),{DataReadyForUpload:true}))

 

And i am getting the Server E-Tag Mismatch randomly, i searched other discussions saying problem has been solved but still it is not solved at my side.

 

Appreciate any Help!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Error while Using Patch , FOR All- ETAG Mismatch

Hi @MiraGhaly,

 

Please take a try with the formula below and see if that would work in your scenario:

ForAll(RenameColumns(myLoadedCollection, "ID","ID1"),
       Patch('myDataSource',
LookUp('myDataSource', ID = ID1),
{DataReadyForUpload:true})
)

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Error while Using Patch , FOR All- ETAG Mismatch

Hi @MiraGhaly,

 

Please take a try with the formula below and see if that would work in your scenario:

ForAll(RenameColumns(myLoadedCollection, "ID","ID1"),
       Patch('myDataSource',
LookUp('myDataSource', ID = ID1),
{DataReadyForUpload:true})
)

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,003)