Skip to content

Working with Offline OData

Offline OData Configuration Options

There are various configurations you can set to determine your offline OData behavior when initializing, uploading, or downloading. You can set these options in your Service definition, as show in Offline Options. The properties you can set are:

  • CSDLOptions - Specify how offline OData should handle the parsing of your OData service's schema metadata
  • ServiceOptions - Specify your OData service's behavior
  • StoreParameters - Specify how the offline store should be configured

Undo Pending Changes

While you can make changes to existing and new entities locally, you can also undo pending changes without uploading them by calling the Offline OData UndoPendingChanges action for an entity object. An existing entity will be restored to its original status as if no changes had been made. A new entity will be removed as if the entity had never been created. A deleted entity will be restored to the offline store.

Closing and Clearing

You can close an offline store if you need to perform certain operations that might require your offline OData store to be in a closed state using the Offline OData Close action.

You can clear an offline store if you need to perform certain operations that might require you to delete content from the offline store using the Offline OData Clear action. This will allow you to perform a new initialization of your data from your back-end OData service.


Last update: May 17, 2022