cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to flush/refresh specific offline oData entities in SAP Cloud Platform?

former_member239819
Participant
0 Kudos

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?

Accepted Solutions (0)

Answers (2)

Answers (2)

hemal_pandya
Explorer

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

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

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