barcode reader integrated in device does not read in powerapps. Why?
Solved! Go to Solution.
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.
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?
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?
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.
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:
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.
Your chance to join an engaging competition of Power Platform enthusiasts.
The Super User program for 2022 - Season 2 has kicked off!
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.
In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.