Hi
I am trying to update multiple records in a SharePoint list based on what has been selected in a gallery.
Currently I have a gallery which will show all records from the SharePoint list, I can then select multiple of them using this guide: https://www.agarwalritika.com/post/select-multiple-items-in-a-power-apps-gallery-canvas-apps (if this is not the way to do this please let me know).
I then need to select a button and update all the selected records.
I can get it to update one record (the last one selected) using this code:
Patch('Parcel List', Gallery3.Selected ,{'Picked Up': true ,'Date Picked Up':DateAdd(Now(),8,Hours),Signature:PenInput1.Image});
I have tried ForAll but I cannot get it to work:
ForAll(Gallery3.AllItems,Patch('Parcel List',LookUp('Parcel List', Gallery3.Selected.ID = 'Parcel List'.ID), {'Picked Up': true ,'Date Picked Up':DateAdd(Now(),8,Hours),Signature:PenInput1.Image}))
I have looked at other posts (example) but i have had no luck.
Can anyone help?
Thanks in advanced.