Page 4 of 8

barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 7:34 pm
by Scott Schechtel

So do I need to delete the other local storage values that I created - Name, price, description, etc..?


barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 9:18 pm
by Kateryna Grynko

Hi Scott,

Yes, if you get them from database. Their values ​​will be directly saved to a component, bypassing the local storage.


barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 9:25 pm
by Scott Schechtel

Hopefully this screenshot will help clarify what I want. I think we're almost there. Click products screen help


barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 10:24 pm
by Scott Schechtel

Katya, please let me know if this screenshot makes sense Products page Something tells me that there should also be something different on the Main screen aaStart Screen


barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 11:15 pm
by maxkatz

What exactly are you trying to do? I think we covered all possible cases. You can save the data into local storage to be available for later, and you can also display the data from scan into a page. What are we missing?


barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 11:23 pm
by Scott Schechtel

I want to make sure all steps are covered for the result of the scan. I have this screenshot result of scanillustrating what I have but when I scan the product barcode, I only get the empty screen without that products info..


barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 11:27 pm
by maxkatz

The scan itself will not get you product information. The scan resolves what you scan into some value, for example URL or some product Id. You then use that value to do anything you need such as searching the database, etc.


barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 11:35 pm
by Scott Schechtel

When you say 'some product id', couldn't that be the SKU? could the result(SKU) then be linked to another screen that contains the product info? Such as this sequence ?


barcode scanner to invoke data from database

Posted: Fri Sep 27, 2013 11:47 pm
by maxkatz

It can be anything.. it depends what you scan. The scanner doesn't do anything but scans a code and returns its value. You as app developer then need to take the value and do something with it.


barcode scanner to invoke data from database

Posted: Sat Sep 28, 2013 12:00 am
by Scott Schechtel

so is it possible to make that value link to another screen with the product information?