Hi there,
I'm having a problem with a patch(myList, myCollection) function. I'm using a canva app that collects records from a Sharepoint list in a collection.
Users of my app can update rows locally, and when they want, sync the app with the list.
The application is deployed on multiple devices.
The error message occurs after an indefinite time, and not on all devices. If the user restarts the app, it works again.
Error message : "network error when using patch function : the specified column is read-only and can't be modified"
I do not have set any readonly colomn on my list, and removed all additionnals lookup columns, which I thought were causing the error.
I have seen this post
but the proposed solution doesn't suit me, since the
patch(myList, myCOllection)
internally checks whether rows have changed or not, and updates only those that have changed. Whereas
Patch(SharePointList,ShowColumns(myCollection,"Column1","Column2","Column3"))
or
ForAll(
mycollection
Patch(SharePointList,Defaults(SharePointList),{Column1:Column1,Column2:Column2})
)
updates all rows, modified or not, which may overwrite data.
Any ideas ?
Thanks !