cancel
Showing results for 
Search instead for 
Did you mean: 

Improve barcode scanning capability

The ability to scan barcodes in PowerApps has the capability to revolutionize a lot of our processes, but we frankly need the barcode scanning functionality to be stronger/more robust before we can implement.

 

Official guidance states that barcodes should be at least 1" high, but that simply isn't feasible in a lot of printed barcode situations, especially on identification. We would love to implement PowerApps to scan student ID cards for logging and attendance, but the barcodes don't fit the size requirements and a mobile PowerApps app can't scan them, at least on an iPhone 7. 

 

However, using other 3rd party apps (including QR Reader for iPhone, made by TapMedia Ltd) for testing purposes shows no difficulty at all in scanning the same barcode. Indeed, the app is able to correctly read the barcode before the camera can even focus on it.

 

I'm including a screenshot of the app showing the barcode that can't be read (with a redaction box for sensitive information). The yellow box actually flickers around the barcode and will often encompass it perfectly, but can't hold on to it for longer than a frame, it seems. 

 

Anyway, I'm obviously ignorant of the technical limitations, but since I know through other apps that better barcode scanning can be done, it would be great to see it improved within PowerApps.

 

Thanks!

 

EDIT: Site seemed to not like my screenshot so I'm uploading a new one.

 

barcodescreenshot.jpg

 

Status: Completed

The new Barcode scanner control is out, and we recommend it to anyone who needs to scan a barcode, QR code or data matrix codes on their mobile devices.

 

The performance is in line with modern barcode scanning apps on your mobile devices.

 

A couple of notes:

  1. Old barcode scanner control has been renamed to Web barcode scanner.  It is disabled by default and can be enabled in the experimental features settings.  We are keeping it around as it is currently the only way to scan barcodes in a web browser.
  2. The ScanBarcode function has been removed from experimental properties.  The function will still work for existing apps, but those apps should be updated to use the new Barcode scanner control.  It is the same functionality underneath, and it will store the value for you in the control, so it should be easier to use than the function.
Comments
Administrator
Status changed to: Planned
 
Level: Power Up

Great to see this one is planned, we have great ideas for using barcodes.

Level: Power Up

Really Intresting i want to learn more about Barcode functionality.

RK
Level: Powered On

 

I need to comment on is the barcode scanner control, It is terrible and doesn’t work at all on iOS which most of my users are using, I need to create an app that can scan and record the serial number, and a photo! To be recorded in a custom SharePoint list, can you please improve this control and also add the function to save a photo to a SharePoint list. For example when I use an free app in the Apple app store it work perfectly and is really quick, but I cant integrate these into my SharePoint list, I have tried to scan just one barcode and it hardly ever works have to try really hard to focus and scan the barcode which is unusable as my contractors would require it to be a rapid process (100’s of barcodes) , scan the barcode take a photo in one step (press of a button) and provide a sound or vibration or photo freeze feedback that is was successful. Also on this the ability to share an app externally outside my organisation to subcontractors, when is this going to be possible? The way I see it is, if I provide a link to the app, this should permit them to access the app and have permissions to write to the SharePoint list as well.

Level 8

If this improvement to the barcode scanner capabilities has a "planned" status, wouldn't it make sense to also move the QR Code request ideas from "Under Consideration" to "Planned"?  Shouldn't the modification tackle all of these at the same time since it would be a modification of the same control?

Thanks,

 

Olivier

Level: Powered On

When the bar code scanner is redesigned/improved, can you make it function as well as QR reader? QR reader is a free app that will grab a bar code from several feet away. The current scanner in PowerApps has trouble locking on to the barcode and grabbing the number. In fact, I can hold the scanner over a barcode and the output will actually fluctuate with slight movement of the camera. 

 

Make the scanner a button in the corner of a text box that would allow the user to type or scan. This function shouldn't require any additional commands to make it work. Of course you will need to tell it where to put the data but the scanner itself should work like this:

- Insert barcode/qr scanner (No reason the scanner shouldn't be able to handle all types of scanable codes. 

- Once the scanner is added it should work and at minumum pull the information from the barcode into a text box attached to the scanner icon

- On the moble device, the user experience should be clicking the scanner icon, the camera opens, the scanner reads the code and closes the camera and navigates back to the form. This should all happen automatically, there isn't much need in doing this any other way out of the box, because 98 percent of users will want the scanner to function this way. Look at AppSheet, they have it figured out and it works great. 

 

We really want to replace AppSheet with PowerApps but more work is needed in this area before we can do that. 

 

Level: Powered On

Mircosoft Powerapps Barcode scanning does not work like most basic free barcode scanning apps in app stores. The only barcode that seems to work is fixed length EAN13 barcode. I expected much more from microsoft. Work must immediately be done to at-least equate the scanning capability to standard available barcode scanning apps and include capability to scan QR code.

PowerApps Staff

In our effort to improve our barcode scanning abilities, we are introducing an experimental function ScanBarcode.  In order to use the function you first need to enable it in PowerApps Studio when editing an app under File|Advanced Settings|Experimental features. The function is currently supported on iOS and Android devices and will open a native barcode scanner in its own UI.  Upon a successful scan, it will return the string representing the scanned code.

 

To test this function:

  1. Create an app with TextInput and Button controls
  2. Set Button1.OnSelect = UpdateContext({barcode: ScanBarcode()})
  3. Set TextInput1.Default = barcode

 

Note that in addition to scanning multiple types of barcodes, the scanner also scans QR codes.

 

We are looking for feedback on this approach to barcode scanning, so please let us know what you think.  If all goes well, we’ll be extending the support to Android devices.   Extending support to Windows and Web devices would not be as easy so we’re also interested in getting user feedback on that.

 

EDIT: Added Android to supported platforms

Level: Powered On
"

In our effort to improve our barcode scanning abilities, we are introducing an experimental function ScanBarcode.  In order to use the function you first need to enable it in PowerApps Studio when editing an app under File|Advanced Settings|Experimental features. The function is currently only supported on iOS devices and will open a native barcode scanner in its own UI.  Upon a successful scan, it will return the string representing the scanned code.

 

To test this function:

  1. Create an app with TextInput and Button controls
  2. Set Button1.OnSelect = UpdateContext({barcodeSmiley FrustratedcanBarcode()})
  3. Set TextInput1.Default = barcode

 

Note that in addition to scanning multiple types of barcodes, the scanner also scans QR codes.

 

We are looking for feedback on this approach to barcode scanning, so please let us know what you think.  If all goes well, we’ll be extending the support to Android devices.   Extending support to Windows and Web devices would not be as easy so we’re also interested in getting user feedback on that."

 

FilipK can you repost this? every single place you have posted this response part of your code has been removed and replaced with a weird smiley... Would really help some people if they could use your actual code as a starting place, right now it's just useless unless the person already knows what you were typing there. Thanks!


 

 

 


 

Level: Powered On

same issue.. can't figure out what the 'frustrated smiley' text should be instead

 

I tried =P and :=P but they don't work

Labels