Page 1 of 1

Modify barcode scanner returned results

Posted: Mon Sep 29, 2014 12:33 am
by eric okeson

Referencing the barcode scanner tutorial
How can I modify the returned code query. Example, scanning the bar code enters a raw number "051500241776" in the name dialog bog. I would like to add parameters around this returned code so that it become {"upc":"051500241776"}


Modify barcode scanner returned results

Posted: Mon Sep 29, 2014 1:03 pm
by Kateryna Grynko

HI Eric,

Please add the following code to a Barcode service response mapping:
prereturn '{"upc":"'+value+'"}';/pre