web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Activating the Barcode...
Power Apps
Answered

Activating the Barcode Scanner control from a different control

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
I have the same question (0)
  • v-yuxima-msft Profile Picture
    Microsoft Employee on at

    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

    20190328barcode.PNG
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @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.

  • v-yuxima-msft Profile Picture
    Microsoft Employee on at

    Hi @RandyHayes @Anonymous 

     

    Thanks for your reply.

     

    Hi @Anonymous ,

     

    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

     

    Best Regards.

    Yumia

     

  • Verified answer
    mobaky Profile Picture
    Microsoft Employee on at

    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 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard