Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

OData plugin inclusion on a Cordova Windows project

Hi all,

I am having difficulties using offline OData in my Cordova application for Windows platform.

The application can successfully create an offline store and do an OData.read() call when the device is online. However, when the device is offline, the OData.read() call will fail with message "HTTP request failed".

Former Member
Former Member replied

Midhun,

Thanks to your help I've now got it working.

The causes of the problem were:

- The offline store limitations which were not respected in the data or in the fields properties

- The following condition which I was not aware of: "If the primary key of an odata collection is a string, then the maxlength field should be mentioned"

Many thanks to Chirag and yourself for your help.

Christopher

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question