Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Mutiple barcodes in .tif file

Avatar

Level 2

Can somebody point me to an example of a process that can handle mutiple barcodes in a single document ?

I have created a form in designer with a QR barcode, saved to a tif file. I am able to extract the data to xml using Barcode Forms decoder followed by extract to xml. When adding a second barcode it fails with  java.lang.ArrayIndexOutOfBoundsException,

how should I change the process to handle multiple barcodes ?

thanks

Steve

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Hi Steve,

I sent an .lca in response to your email. For others I have attached the .lca for the process that looks like this....

It does not use a watched folder but rather reads the .tiff file from the application in the repository directly.

Steve

View solution in original post

4 Replies

Avatar

Former Community Member

Steve,

What kind of value encoding are you using? XML, tab-delimited, custom,..?

If you can share the form (stwalker.adobe@gmail.com) I can take a look.

Steve

Avatar

Level 2

I am using tab delimited, with field names , and auto filling the barcode

I can manually scan both barcodes on the tif file and see the data - but the process fails on the decode step when dropping it into the watched folder. As mentioned the form with the single barcode works fine

I have sent you the forms.

many thanks for looking at this

Steve

Avatar

Correct answer by
Former Community Member

Hi Steve,

I sent an .lca in response to your email. For others I have attached the .lca for the process that looks like this....

It does not use a watched folder but rather reads the .tiff file from the application in the repository directly.

Steve

Avatar

Level 2

hi steve,

I tried this and it works perfectly, exactly the help I was looking for,  I can now apply these changes to my form and process and get moving again !

many thanks

Steve

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----