Hello,
I have created the barcode scanner using the following:
Create a canvas app with the barcode scanner control (contains video) - Power Apps | Microsoft Docs
I would like to export the results from the gallery to a SharePoint list. I can easily capture the username and seem to be struggling to export the results from the gallery to the SharePoint list.
SharePoint list fields are:
Title: Barcode (hardcoded)
Username: Picks up User().FullName
Date: trying to get from gallery Thisitem.ScannedTime
Barcode: trying to get from gallery ThisItem.ScannedItem
Current scan button:
Collect(
colScannedItems,
{ScannedItem: BarcodeScanner1.Value, ScannedTime: Now()}
);
ForAll(Gallery3.AllItems;
Patch(BarcodeScannerApp;Defaults
Any help would be appreciated. Or should I just export the gallery items to text boxes and then patch to SharePoint list?