Skip to Content
avatar image
Former Member

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".

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 03, 2015 at 03:11 PM

    Hi,

    What is the version SMP SDK you are using? Win 8.1 supports offline only from version SMP SDK SP07.

    Regards, Midhun

    SAP Technology RIG

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Midhun VP

      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