web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Barcode scanning in CRM Portals

(0) ShareShare
ReportReport
Posted on by

Hi, I have a requirement to read the serial number from the barcode image uploaded in the portals.

Since the barcode field in the OOB CRM is only available for the mobiles and tablets, I had to look for another approach.

I went with QuaggaJS librabry and added the quagga.js file in the webfiles and added the code to detect the barcode. It worked fine for few of the images downloaded from the internet. When it came to the client images, the values read were different. 

Below was the code used for Quagga decoding function:

Quagga.decodeSingle(
{
decoder: {
readers: ["upc_reader", "code_128_reader", "code_39_reader", "code_39_vin_reader", "ean_8_reader", "ean_reader", "upc_e_reader", "codabar_reader", "i2of5_reader", "2of5_reader", "code_93_reader"]

},
locate: true,
src: src
},

function(result){
if(result && result.codeResult && result.codeResult.code)
{
$("#new_barcodevalue").val(result.codeResult.code);
}else{
$("#new_barcodevalue").val("Unable to read");
}
});

The serials numbers were being read correctly in online third-party tools. Please suggest if there is any other way of getting the barcode value.

Thanks in advance!!

*This post is locked for comments

I have the same question (0)
  • Jake Middleton Profile Picture
    10 on at
    RE: Barcode scanning in CRM Portals

    Hi Sahithi, did you manage to get this working for your client images?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans