Regarding bar code reading

Hello,

I need to scan the barcode and read the details from that.

I'm trying to use the code as below.

a!fileUploadField(
label: "Upload the Barcode image",
saveInto: {
ri!file,
a!save(
ri!barcode,
readbarcodefromimage(
img: ri!file
)
)
}
)

 in the ri!barcode i'm getting the BARCODE NOT FOUND: Invalid Content ID. 

I understand that appian supports only 

  • "CODE39"
  • "CODE93"
  • "CODE128"
  • "DATAMATRIX"
  • "EAN8"
  • "EAN13"
  • "PDF417"
  • "QRCODE"
  • "UPCA"
  • "UPCE"

I tried with a sample png and gif image of code39 from google and I was getting the invalid content message.

And also I'm not sure how to use a!barcodefield component to do barcode reading. can you give some code to refer it would be helpful

I'm struck here. can you help me in sorting this out. I'm using appian cloud version.

Thanks

  Discussion posts and replies are publicly visible

Parents Reply
  • Please try to understand my question. I already tried with a!barcode and after knowing the limitation I left that option. The code above shows the use of uploading the bar code image and then reading the barcode using the Barcode_and_QR_Code_Utilities_1.0.0. readbarcodefromimage is present in the plugin. My question is that I'm getting the error as mentioned in the question. are there any references to working code that what my request is about
Children