Search found 23 matches

Go to advanced search

by Anuj Puri
Mon Jul 20, 2020 4:11 pm
Forum: Issues
Topic: Barcode Scan Google Search
Replies: 9
Views: 853
 
Jump to post

Barcode Scan Google Search

\""FIELDNAME1\"":\""VALUE1\""

by Anuj Puri
Tue Feb 17, 2015 2:53 am
Forum: Issues
Topic: If local storage null not working
Replies: 32
Views: 3276
 
Jump to post

If local storage null not working

The variable in local storage shows as empty. The console just shows a bunch of errors for length. App successfully registered with Appery.io Push service processMessage failed: Error: TypeError: Cannot read property 'length' of undefined processMessage failed: Stack: TypeError: Cannot read property...
by Anuj Puri
Tue Feb 17, 2015 2:29 am
Forum: Issues
Topic: If local storage null not working
Replies: 32
Views: 3276
 
Jump to post

If local storage null not working

I looked and couldn't detect any spaces. Nor is outpanname == null after the search, even though the api call returns "name": null;

the null is in a blue color when i run a test of the api within appery. does it being blue make any difference or mean anything?

by Anuj Puri
Tue Feb 17, 2015 2:13 am
Forum: Issues
Topic: If local storage null not working
Replies: 32
Views: 3276
 
Jump to post

If local storage null not working

M&M... I've tried that already as well. Right from the start, my first post, I tried: outpanname.length < 1, which still didn't work.

by Anuj Puri
Mon Feb 09, 2015 2:09 am
Forum: Issues
Topic: Populate Select Component with Appery Database
Replies: 2
Views: 350
 
Jump to post

Populate Select Component with Appery Database

Thank you... that definitely helped!

by Anuj Puri
Mon Feb 09, 2015 2:08 am
Forum: Issues
Topic: If local storage null not working
Replies: 32
Views: 3276
 
Jump to post

If local storage null not working

I've done both. The log shows the variable empty after the barcode is searched. and I set the LSV to empty before I run the barcode scanner.

by Anuj Puri
Tue Jan 27, 2015 10:24 pm
Forum: Issues
Topic: If local storage null not working
Replies: 32
Views: 3276
 
Jump to post

If local storage null not working

That's what I've been doing. The barcode scan (reading the barcode) has always been a success so far. It's the next part (the lookup, which is not against my database but a restful api call to outpan.com). This api then returns the name of the barcode. If the name is returned, everything works fine,...
by Anuj Puri
Mon Jan 26, 2015 9:50 pm
Forum: Issues
Topic: If local storage null not working
Replies: 32
Views: 3276
 
Jump to post

If local storage null not working

So, I just tried what you've suggested: I created another local storage variable (outpan_success_count). So, for the rest service that sends the barcode to outpan and then retrieves the item name, here's what I did: For Before Send, I set the storage variable outpan_success_count to 0. Then, after t...
by Anuj Puri
Mon Jan 26, 2015 4:43 am
Forum: Issues
Topic: If local storage null not working
Replies: 32
Views: 3276
 
Jump to post

If local storage null not working

Same issue... This works if a name is returned. This shows "Outpan found the item". But if the name is not returned, this doesn't do anything. Here's the javascript code I tried: var outpanname = Apperyio.storage.outpan_item_name.get(); if (outpanname) { alert("Outpan found the item.&...
by Anuj Puri
Sun Jan 25, 2015 5:46 pm
Forum: Issues
Topic: If local storage null not working
Replies: 32
Views: 3276
 
Jump to post

If local storage null not working

That won't work unfortunately, as i don't need this based on a successful event, but based on whether the barcode api returns a value for "name" or not. If the barcode isn't found, it returns "name": null; , which technically is still a successful event, meaning the value of the ...

Go to advanced search