My formulas in the screen's OnVisible property look like this:
ClearCollect(myCollection, Filter(mySharePointList, mySharePointColumn = variable));
ForAll(myCollection, Patch(mySharePointList, LookUp(mySharePointList, ID = ThisRecord.ID), {OTHER_COLUMN: otherVariable}));
But when I navigate to that screen, I get the following error:
Error when trying to retrieve data from the network: Fetching items failed. Possible invalid string in filter query.
Status code is 400.
I had to set it up this way because it won't allow patching to the same data source that is in the ForAll. Is it not possible to use a collection as the first argument in a ForAll loop?