Offline Editing with auto-generated API Express Rest Service

This forum contains topics that were moved from Get Satisfaction
Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Offline Editing with auto-generated API Express Rest Service

Post by Bernie »

Hi,
The manual says:
"When an app is in offline mode, the Client SDK returns data of a get and find operations from storage (cache)."

I can get the "Get Service" to run in both, online and offline, but the "Find Service" only in online mode and NOT in offline mode.

I do change the "cached" value to "false" when online and to "true" when offline.

Please, see the screen-shots below for a better understanding.

Any help is greatly appreciated.

PS: I would have thought that filtering the "Find Service" would store the result in the cache for offline use. Image

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Offline Editing with auto-generated API Express Rest Service

Post by Bernie »

Please, any ideas? I got stuck here.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Offline Editing with auto-generated API Express Rest Service

Post by Evgene Karachevtsev »

Hello Bernie,

Sorry for the delay. We have passed your issue to our development team and hope the reply will be soon.

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Offline Editing with auto-generated API Express Rest Service

Post by Bernie »

Thank you, I do appreciate the update.

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Offline Editing with auto-generated API Express Rest Service

Post by Bernie »

Hello,
I really need an answer.
If you can't solve the problem, maybe you can steer me in a direction on how to build my own offline database.

Thank you in advance

Jackson
Posts: 9
Joined: Wed Nov 01, 2017 10:44 pm

Offline Editing with auto-generated API Express Rest Service

Post by Jackson »

Did this ever get resolved? I am having the same issue.

Jackson
Posts: 9
Joined: Wed Nov 01, 2017 10:44 pm

Offline Editing with auto-generated API Express Rest Service

Post by Jackson »

It looks like the problem occurs when I query on a pointer field in offline mode. I can get it to work online - but not offline.

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

Offline Editing with auto-generated API Express Rest Service

Post by Serhii Kulibaba »

Hello Jackson,

Please see my answer in this topic: https://getsatisfaction.com/apperyio/...

Post Reply