Grooper 21.00.0082 is available as of 12-12-2023! Check the Downloads Discussion for the release notes and to get the latest version.
Grooper 23.00.0042 is available as of 03-22-2024! Check the Downloads Discussion for the release notes and to get the latest version.
Grooper 23.1.0018 is available as of 04-15-2024! Check the Downloads Discussion for the release notes and to get the latest version.
Options
Referencing a Lexicon to Translate Barcodes
[Deleted User]
Posts: 0 ✭✭
I have a barcode that I can detect successfully, but I am only needing certain values from that barcode. In 2.80.0016, I am able to use the Read Barcode Value Extractor, as well as the Value Pattern to create a regex and extract the numeric value that I am searching for. I have also created a Lexicon that can convert any of the values that I am extracting to the doc type code associated with it. Is there any way to reference that lexicon to the Output Group, so that I can extract the values in a translated state?
0
Best Answer
-
OptionsGrooperGuru Posts: 481 adminThe new "Read Barcode" functionality allows you to isolate a portion of the result returned from the barcode using a pattern. However, as I'm sure you've already figured out, it is only a simple pattern. It doesn't expose all the properties available with a full pattern/data format object, which is what would allow for translation of extracted values. Your best bet is to put two fields in your data model. The first uses the Barcode reader with a pattern that returns an initial value. Then you can configure a Lexicon-based lookup that triggers off the first field value and returns the translated value from the lexicon and populates the second field with it. Then you'll map the second field to your final output, and could even hide the first field from users in review.Matt Harrison
Product Manager
mharrison@bisok.com5
Answers