Hi @svenwbusch ,
Your patch function seems to look fine, but I think the only mistake is you are not updating the column value of the collection upon on value change of the dropdown. Can you write this formula OnChange Property of your Dropdown in Gallery:
Patch(colScannedItems, ThisItem, Ort: Dropdown1.SelectedText.Value)
note: I assumed Ort is also a column in your colScannedItems.
once you are done with the selection of dropdowns for all rows, then OnSelect property of Button "Speichern" use this formula:
ForAll(
colScannedItems,
Patch(
'DaSi-K-DPI',
Defaults('DaSi-K-DPI'),
{
Title: ThisRecord.ScannedItem,
Datum: ThisRecord.ScannedTime,
Bearbeiter: User().FullName,
Ort: ThisRecord.Ort
}
)
)
This will create new records in your SharePoint as per selected values.
If this is the answer for your question, please mark the post as Solved.
If this answer helps you in any way, please give it a like.
Thanks!