cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing Offline oData : Clean up non-matching entities on client

former_member239819
Participant
0 Kudos

I Recently saw a blog mentioning how non-matching offline entities can be removed after a refresh using the config.

https://blogs.sap.com/2017/08/04/offline-odata-new-features/

Ability to clean up non-matching entities on client

There was no additional detail provided so can anyone shed some light on it as the feature could be really useful.

Accepted Solutions (0)

Answers (1)

Answers (1)

mgrasshoff
Advisor
Advisor
0 Kudos

Hi,

in order to let the locally created entity been removed after an upload you need to add a RequestOption to your create request.

Just set removeCreatedEntityAfterUpload to true.

Here's the doc:

https://help.sap.com/viewer/fc1a59c210d848babfb3f758a6f55cb1/3.0/en-US/59ae11dc4df345bc8073f9da45170...

Hope that helps.

Regards,

Martin