cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bitgalicia
Helper I
Helper I

Barcode reader integrated in device does not read in powerapps. Why?

barcode reader integrated in device does not read in powerapps. Why?

18 REPLIES 18

No, I have already solved it, thanks for your help, very kind

Anonymous
Not applicable

Hi,

 

Could you please direct me to any code snippet here. We want to use the scan button on the TC70x series zebra scanner instead of using the camera. 

Thanks

Power User

I found it works when having the barcode scanner serves as the input for a text input control. The irritating part is, when the text input control is selected the onscreen keyboard appears, and won't disappear when the barcode is scanned. Is there any way to prevent this from happening? Or to have the barcode value sent to another control from which the barcode value can be accessed?

EricLott
Community Champion
Community Champion

@DirkKotze 

No, I haven't found a way to do that. I've been researching it for quite some time.

Hi Eric,

 

I am having the same issue with Zebra mobile scanner. the app is working fine on phone, but running on Zebra device, it does not scan, any change need to be made with the app?

 

regards,

Patrick

NikolayB
Regular Visitor

Hi,
Does anyone manage to use Zebra barcode scanner (non-camera scanner) with a power app?
Ideally, I'm looking for a function to run with a power app button to set the scanned value to a variable.

Mo231
Regular Visitor

Hello @EricLott , 

 

Can you help me with this? I want to use a integrated barcode reader for scanning barcodes with PowerApps?

NikolayB
Regular Visitor

The best solution I've found for non-native Barcode Reader is:
1) set a button,
2) Place a transparent textbox input  with a transparent font colour on top of the button.
3) Set up some indicator for user that device is ready for scanning. 
   I did next:
  3.1) OnVisible property for current screen: Set(scannerDialog, false)
  3.2) OnSelect property of the transparent textbox input: Set(scannerDialog, true)
  3.3) Set a new text label and cancel button with Visible property: scanDialog
  3.4) Set cancel button OnSelect property: Set(scanDialog, false)
  3.5) Set text label Text property to: "Scan now!"

4) Set Default property of the textbox input to: ""
5) Set Visible property of the textbox input to: If('TextInput1'.Text = "", true,false)
            TextInput1 is a name of your textbox input element.
6) Set OnChange property of the textbox input to:
            Set(lastScanValue, 'TextInput1'.Text);
            Reset('TextInput1');
            Set(scanDialog, false)
7) to see scanned value make a text label with Text property: "Last Scan: "&lastScanValue
I believe this is a only way to create a user friendly interface for an external Barcode Reader.
Unfortunately you can't remove/hide onscreen keybord popup.

cjunior1
New Member

Hello, I'm having the same problem, Has anyone managed to integrate a Zebra Scanner with Power Apps, in the option to scan barcodes?

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,602)