Hello All!
This might have posted before, but I'd have to comb the whole internet to find the exact problem I'm having. I this this is a syntax issue? I don't know.
I have a gallery (GalSelect) for selecting multiple records. The selected records go into a collection (colSelect). Then I have a another gallery (galEdit) displaying the selected records (displaying the collection, colSelect, data), like a shopping cart. The user needs to assign a location to the selected records. The can select the location from a combobox, "Combobox1"
GalSelect - select multiple items
colCalSelect - puts selected items in a collection
GalEdit - Displays selected items for editing/updating.
Combobox1 - Holds the value to be updated.
"PowerApps Submit" - Sharepoint List source to be patched.
"Courtroom" - name of column in both the collection and the Sharepoint list for patching.
I can't get the patch to work. The collection columns are not the same as the column names in "Power Apps Submit", the sharepoint list to be patched. So, I don't know how to write a Patch for just one column of the collection
Here's what I have so far:
ForAll(colCalSelect, Patch( 'PowerApps Submit', Defaults( 'PowerApps Submit', {Courtroom} = Courtroom[@colCalSelect])))
Thank you so much in advance!