Announcements
I'd like to run the barcode scanner from a differnet control, but it dosn't have an onSelect function so I cant use Select(BarcodeScanner)... My ultimate goal is to have a continuous scan. Scan a code, add it to a collection then scan another code until the user is complete. I was abe to achieve this with the ScanBarcode function, but I can't figure it out with the new control.
Thanks
Hi @Anonymous ,
Do you want to collect scanner's value?
You can set BarcodeScanner1.OnScan:Collect(test,BarcodeScanner1.Value) (BarcodeScanner1 is my scanner name on my side)
Hope this could be helpful.
Best Regards.
Yumia
Yumia,
Thanks for the response.
Correct me if im wrong, but this will scan a barcode (once) and put the value into a collection. My need is to call the scanner over and over again. I'd like it to not only add the value to the collection, but also call the scanner again to scan a new barcode.
@Anonymous
The auto-scan feature you're looking for does not currently exist in the new barcode scanner. Eventually, I believe, it will be back. But for now - what you're looking for is not there.
Not what you were looking for, but hopefuly it answers your question.
Hi @RandyHayes @Anonymous
Thanks for your reply.
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
Hello @Anonymous ,
We've added support for the Select function and it should be available for you to try.
Example:
If you would like to scan a barcode on Text input focus you can do something like this:
TextInput1.OnSelect = Select(BarcodeScanner1) BarcodeScanner1.OnScan = Collect(Barcodes, BarcodeScanner1.Value )
CC: @v-yuxima-msft @RandyHayes
@mobaky
Thank you , it works now.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 392 Most Valuable Professional
11manish 136 Super User 2026 Season 2
MS.Ragavendar 109 Super User 2026 Season 2