Skip to content

OfflineOData Store Upload

MDK now provides the ability for applications to upload the offline store (both the main offline database (UDB) and the Request Queue database) to Mobile Services to assist with troubleshooting. This capability helps developers and support teams more effectively investigate and diagnose issues related to the offline store, reducing the time required to identify the root cause of problems reported by business users.

To use this feature, enable the offline store upload policy in the SAP Mobile Services Admin UI for the MDK app.

Developers can download the uploaded files on their local machines and use the ILODATA tool to analyze them.

All properties outlined in Action are applicable to this action.

OfflineOData Store Upload Properties

Property Type Required
EncryptionKey string No
Note string No
Service Service Yes
_Type const Yes

EncryptionKey

The encryption key is used to encrypt the uploaded database files. If not specified, the database files are uploaded unencrypted.

  • type: string

Note

Optional note attached to the uploaded database file

  • type: string

Service

The target service to be uploaded


_Type

  • type: const

The value of this property must be:

"Action.Type.OfflineOData.UploadStore"

Action Result

The ActionResult of this action is null.


Examples

Store Upload

{
  "_Type": "Action.Type.OfflineOData.UploadStore",
  "Service": "/MyMDKApp/Services/MyOData.service"
}

Store Upload with Note

{
  "_Type": "Action.Type.OfflineOData.UploadStore",
  "Service": "/MyMDKApp/Services/MyOData.service",
  "Note": "My Note"
}

Store Upload with Encryption Key

{
  "_Type": "Action.Type.OfflineOData.UploadStore",
  "Service": "/MyMDKApp/Services/MyOData.service",
  "EncryptionKey": "MyEncryptionKey123"
}

Store Upload with Encryption Key and Note

{
  "_Type": "Action.Type.OfflineOData.UploadStore",
  "Service": "/MyMDKApp/Services/MyOData.service",
  "EncryptionKey": "MyEncryptionKey123",
  "Note": "My Note"
}