Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Error Handling
Unanswered

Barcode Reader App not putting multiple scans into Gallery

(0) ShareShare
ReportReport
Posted on by 22

Hello Power Pro's! Looking for some help!

My app was working perfectly yesterday morning. I started adding additional formulas to keep making the app better as I am still designing it for Beta. Mind you, this is my 1st app and I have no experience so I greatly appreciate this community!!!

 

The issue I have using the Barcode Reader is that it does multiple scans, but it doesn't put multiple items in the Vertical gallery, like it was. I don't have any errors! It only is capturing the the first item I am scanning and only putting that item in the SharePoint list. If I use the Preview App inside of PowerApps, it captures it just fine. 

 

Mode is set to ScanMultiple and Formula for OnScan:

Collect(
colScannedItems,
{ScannedItem: First(BarcodeScanner1.Barcodes).Value, ScannedTime: Now()}
)

 

I am attaching screenshots, and my Patch code. 

colScannedItems is the collection name

ReceivingScannerUSFedEx is the SharePoint List name

 

Attachment (AppTestSharePoint) is what it looks like when testing from inside app ("Fred") and what is it suppose to look like and the highlighted line is what happens using the app (on mobile) and scanning 2 barcodes (only captures 1)

 

Attachment (ScannerAppScreen) is what the gallery should look like after scanning multiple barcodes (image from Previewing app test screen through PowerApps). When scanning on mobile device, only captures 1 barcode.

 

What I was trying to add after the Patch code on the Submit & Save was:


Navigate(FrontScreen); //Navigate to the front screen
ClearCollect(colScannedItems,{}); //Clear the data in the form
Reset(ShippingCarrierTextInput); //Reset Ship Carrier after exit
Reset(ReceiverNameTextInput); //Reset Receiver after exit
Reset(NotesTextInput); //Reset notes after exit

 

Sorry so lengthy but trying to give all info as I can 🙂

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Error Handling

#1
stampcoin Profile Picture

stampcoin 73

#2
DS-11051211-0 Profile Picture

DS-11051211-0 20

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 9

Overall leaderboard

Featured topics