Hey All - I need some of your expert assistance.
Sorry for not embedding the images referenced below but for some reason I was getting errors trying to do so.
We have a barcode scanner built into two different apps.
(See attached Step 1 Image)
When we scan a barcode - the result will populate a text filed.
The user then presses a button that perfoms data functions and navigates to another screen.
(See attached Step 2 Image)
Up until yesterday - both the barcode and the associated text field would reset (blank out) when the user navigated back to the barcode scan field. Now - we get an error that the camera isn't setup and the previously populated data is still present.
(See attached Step 3 Image)
The only way to get these fileds to reset right now is to exit the app - which is unaccepatable when trying to do an asset inventory.
I have verfied that we are all running the latest version of the mobile app (iOS and Android).
1. Change the display mode of Barcode control to 'Disabled' and then back to 'Edit'. This way it will reset the control.
2. As per this therad, turn on 'Render in Classic mode' from File->App Settings->Advanced settings.
we have reported it internally and this issue has been identified, a fix is expected to be available soon.
Currently, as an alternative solution, you could consider take a try to turn on/enable the Render in Classic mode option within App Settings of your app, then check if the issue is solved.
@Palak - Thank you.
I was successful in getting option 2 to work across all the apps we are developing/using that incorporate the barcode scanner control.
However, I could not successfully get option 1 to work. I tried the following:
Any guidance on setting this paramer successfully to enable and disable the barcode reader would be helpful. I am afraid that some subsequent update to PowerApps will make the classic mode functionality disappear,
I still need an answer to bullet 3 of my original post:
What does each of the properties on the Barcode control do? Specifically the Camera property. I cannot find documentation online about the properties other than BarcodeType and ScanRate. (All the other properties like DisplayMode, Border, Visibile, etc are fully documnted for other properties).
Regarding bullet point 3, here is a page that give more details about barcode control properties. But this page was published back in 2016 and it looks like a few properties have been removed since then (Please, can somebody update this page).
The Camera properties basically allows you to select Main/back camera (0) or the front facing/selfie camera (1) for mobiles and tablets.
Hope this helps.
Try setting the DisplayMode propety of Barcode controle using a variable.
In above example, whenever CustomerNumber value becomes blank, the DisplayMode of barcode controle will change to Edit and the text property will automatically get reset.
This works for me. Hope this works for you too.
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications