Showing results for 
Search instead for 
Did you mean: 

How to capture Bar Codes from multiple objects without clicking on Scan button multiple times

In the Power Apps community, I have answered multiple questions on barcode control. Here is one of the common use case asked by many users.


Use Case: How to use Barcode control to scan multiple bar codes without clicking on Scan button after every scan.


This will blog talks about a very simple trick which will help you.


In the Power Apps, under Media controls, you can find Barcode scanner control 


Note: Barcode scanner control only works from your mobile or tablet devices but not from browser.


From Power App Studio, add the Barcode scanner control from Media section on to the screen.


On the screen, you will see Scan button on the screen as shown below:



After scanning an item's bar code, the screen will be redirected from camera view to normal screen with Scan button. To avoid this, use below formula:



Now, place a Gallery on the screen and set its Items property with the collection colBarcodes. 


Also, you can use this collection and save it SharePoint list or lookup into SP to get additional details of the item.


Output from Mobile device:

WhatsApp Image 2020-12-14 at 4.44.04 PM.jpeg



Krishna Rachakonda

Meet Our Blog Authors
  • PowerApps Community Mentor 2018, Practicing surgeon and former Professor of Surgery, University of Illinois, Chicago.
  • Jill of All Trades (Power Apps, SharePoint, PowerShell, Exchange, Power Automate and odds & ends of assorted other things)
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 12 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • I'm Tim Leung - a PowerApps builder. In addition to PowerApps, my main interests include building software with SQL Server and Microsoft .NET. I'm the author of 'Beginning PowerApps' - the first published book on PowerApps. You can buy this from Amazon and other leading bookstores.
  • Systems developer
  • My name is Timothy Shaw and I create digital solutions using the Power Platform, Office 365, and Azure SQL and handle the IT for a small company in the energy sector. When not building the future :), I enjoy playing guitar, good (or really bad!) sci-fi, Xbox therapy, and hanging with my wife and son. Twitter: @ShortForTim