After I apply GET request for a URL in Android app, I use mergeEntries to update cache for entries but I realized that cache.mergeEntries method just updates server cache, not a local cache.
Also, cache.readEntriesLocal method just gives me entries that are added by cache.addEntry(entry)
Is there any way to fill up local cache with all server entries after GET request ?
Hi Serkan,
there is no method in SDK libraries, that will help you with such action.
If you really need to save all entries from your server cache to your local cache, you will need to do it by your self.
How?
After you save entries from GET request use Cache#readEntriesServer (reed all entries from server cache) and then Cache#addEntry (store the entries into local cache).
Just let me ask you why do you need this?
Do you use delta token?
Regards,
Jan Gold
Hi Serkan,
Did you get a chance to go through this guide.? Getting Started with Kapsel - Part 15 -- Offline OData (New in SP05)
Regards
JK
Add a comment