cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MiraGhaly
Level: Powered On

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,224)