Page 3 of 5

From cloud to local database in jquery app

Posted: Tue Feb 14, 2017 1:02 pm
by Dennis

Just this one. It happens right away, it seems like it is able to do the math part using data from my database, but it is not able to take the SelectList data to the page.

https://appery.io/app/mobile-frame?sr...


From cloud to local database in jquery app

Posted: Tue Feb 14, 2017 3:22 pm
by Serhii Kulibaba

Please remove the "Before send" mapping of the "OfflineFind" service, clear your browser cache and create it again. It has to solve your issue.


From cloud to local database in jquery app

Posted: Tue Feb 14, 2017 5:00 pm
by Dennis

Well, that got me further :)
Now it's showing the data in the selectMenu, but it's not updating when i am changing my inputs...

Image


From cloud to local database in jquery app

Posted: Wed Feb 15, 2017 9:26 am
by Serhii Kulibaba

Right, you have to run an update service to update these values


From cloud to local database in jquery app

Posted: Mon Feb 20, 2017 11:55 am
by Dennis

But how do I do this? It worked when using just the online cloud db. What is different here?

Thanks for all your help this far Sergiy


From cloud to local database in jquery app

Posted: Mon Feb 20, 2017 8:01 pm
by Dennis

Got that part to work! Deleted the service and started over.
So now it works in my browser (can't tell if it works offline obviously) but it does not work when I compile it to my phone?
Image
Image


From cloud to local database in jquery app

Posted: Mon Feb 20, 2017 8:26 pm
by Dennis

And I still get this
Image


From cloud to local database in jquery app

Posted: Mon Feb 20, 2017 9:44 pm
by Serhii Kulibaba

Sorry Dennis, I don't understand you correctly. Did you make it work or not? Where does it work? Where doesn't?

The last screenshot looks like a screenshot from the browser, so did it stop to work?


From cloud to local database in jquery app

Posted: Tue Feb 21, 2017 7:19 am
by Dennis

I meant that I got it to show data, also the query. But only when using a browser on my computer. When I look in the console, it does though give me the above GET error.

When I compile and make the IOS app, it just says undefined in the SelectMenu.


From cloud to local database in jquery app

Posted: Tue Feb 21, 2017 6:00 pm
by Serhii Kulibaba

Sorry, we can't reproduce the issue neither in the browser nor on the mobile device.

You got an undefined label because that 500 error.
Could you create a simple app with that problem service and share it with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?