Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

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...

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

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

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

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

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

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

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

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

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

And I still get this
Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

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?

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

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?

Return to “Issues”