I wanted to make it easy to scan bar codes and QR codes into fields in Espo, without using external scanners. Laptops, phones, tablets all have cameras that can read codes, and there is a HTML5 BarcodeDetector API, albeit not very widely supported. My extension polyfills the detector API using the ZXing browser layer if natively not supported.
Add the field to an entity, and in edit mode you'll see a button with a QR code icon on it. Click that, and a live camera view is displayed in a modal popup. Show a code to the camera view and the field is populated with the value from the code.

This is still a work in progress, but basic functionality is there. Happy to receive feedback!
					Add the field to an entity, and in edit mode you'll see a button with a QR code icon on it. Click that, and a live camera view is displayed in a modal popup. Show a code to the camera view and the field is populated with the value from the code.
This is still a work in progress, but basic functionality is there. Happy to receive feedback!

 
							
						
Comment