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.
Join us for the next call on August 17, 2022 at 8am PDT.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.