Rami Reddy M
Posts: 0
Joined: Thu Jan 31, 2013 3:13 pm

passing barcode scanner url from one page to other page

How to pass barcode scanner text from one page to other page on button click?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

passing barcode scanner url from one page to other page

Save the data in local storage, it will be accessible on every page.

http://docs.tiggzi.com/documentation/...

Rami Reddy M
Posts: 0
Joined: Thu Jan 31, 2013 3:13 pm

passing barcode scanner url from one page to other page

I tried it but I am getting null value when I scan first time. 2nd time scan it retrieves the right data.

Rami Reddy M
Posts: 0
Joined: Thu Jan 31, 2013 3:13 pm

passing barcode scanner url from one page to other page

hi,

Another question on barcode

I am trying to read urls from QR and open it in a browser. However I get null value as text from service. I created barcodetext as a local variable and mapped to barcode text attribute of service.

Here is my code on barcode Success event/Run Javascript action.

window.top.location = localStorage.getItem('barcodetext');

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

passing barcode scanner url from one page to other page

First need to figure out why you are getting a null on the first scan. Does it happen any bar code that you scan? Try adding an error callback and see if there are any errors.

Return to “Issues”