Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

Now that I have the barcode scanner working, I would like to know how to make this piece happen:

Once you get the value from the scan, you can save it in local storage and use it as input to any API to get more information about the scan. For example, if you scanned a product barcode number – you can invoke a service to get information about the product.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

post barcode scanning procedure

Map response parameter text to localStorage variable. Use that localStorage variable for mapping to request parameters of another services. Note that you should call those services after barcode scanner service call is ended up.

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

So then I will have 'text' mapping to mobilelabel_2 AND Local storage variable 'sku'? See screenshot here If I map the sku to another service, is it then to query or read service in my database service? (see screenshot)

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

post barcode scanning procedure

Hi Scott. It looks correct -- you should map it to the 'read service'.

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

So should I create a new screen to display it?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

post barcode scanning procedure

Yes.

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

Okay but when I have the new page created still nothing happens after scanning. Here is the screenshot mapping of the new page new page mapping

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

Here are the latest screenshots for the results page. Still getting the three original text responses and not the new screen.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

post barcode scanning procedure

The Barcode Scanner will work only on device.

On page 'result' you should map from localStorage variable to request parameters, as Marina suggested you.

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

Okay this screenshot shows the latest modification and I am still getting the same three responses.

Return to “Issues”