on 03-01-2019 10:21 AM
The standard flush/Refresh offline oData functions are performed on all entities in the offline Store.
This, of course, has implications on mobile data and performance.
Is there a way to FLUSH/REFRESH only specific entities in the offline store?
Hi Adam,
By refreshing specific entities do you mean entity instances or entity set? It is not possible to refresh specific instances, but it is possible (and in some cases even recommended) to refresh only specific Defining Requests, see https://help.sap.com/doc/2688098e57394fdfbe29756f934715f5/3.1/en-US/Android/com/sap/smp/client/odata....
Since a defining request usually maps to one EntitySet in the offline store this probably does what you are looking for.
It is not possible to Flush (download) specific entities or entity sets.
Hemal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adam,
AFAIK there is no method to refresh an entity.
However, there is a delete entity. You could delete an entity and then call the refresh method.
I am assuming your are talking about the iOS SDK - so links here are related to it.
Best regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.