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 Children
No Data