Patching multiple items based on gallery, to two lists
trying to adjust a SPO list to write into two Lists
1, Order it self, who booked for who and when, is it delivered etc..
2, the items of the order mentioned in the point 1
To ensure that i can link the items of the order to the order, i first collect the ID which i can use the for patching the items... the problem is that this happens only once and as soon i add the variable varcart and the product name (title) it notices that this variable contains multiple items and will not put it there... i suspect ForAll has to be used somehow but cant figure out how... if i remove the varcart.title it works fine...
Patch('IT Hardware Web Shop', Defaults('IT Hardware Web Shop'),
Patch('IT Hardware Web Shop - Cart Items',Defaults('IT Hardware Web Shop - Cart Items'),