+ Start a Discussion
Himanshu Jasuja 9Himanshu Jasuja 9 

How to scan the barcode in salesforce

I have a reuirement like i need to scan the barcode with i-pad and the related barcode comes in the input field in apex and then i will do further modifications based on this.ANY IDEAS?
Ravi Dutt SharmaRavi Dutt Sharma
Hey Himanshu,

There is a very good blog written on this by Jitendra. You can refer that to get an idea about barcode scanner using JS :
S RajahS Rajah

Jitendra's post only works with a saved image as input, right? Is there a way to scan the barcode from a live camera and feed that input to SF1 so SF1 can query SFDC to retrieve additional attributes (tied to that barcode record)?
I tried implementing a browser based scanning solution. But performance suffers.

Ended up using "Barcode to Cloud" app to scan and send barcode data to Salesforce.

"Barcode to Cloud (https://play.google.com/store/apps/details?id=com.albertdev.barcodetocloud)" app allows to scan and send data to Salesforce and execute configurable actions in Salesforce - https://play.google.com/store/apps/details?id=com.albertdev.barcodetocloud

App demo - https://www.youtube.com/watch?v=b3ArzkmR6kc
Yogendra JangidYogendra Jangid
Hi, you can look for the below reference for barcode scanning natively using LWC.