eric okeson
Posts: 0
Joined: Mon Sep 29, 2014 12:33 am

Modify barcode scanner returned results

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"}

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Modify barcode scanner returned results

HI Eric,

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

Return to “Issues”