Skip to Content
0
Jun 14, 2018 at 07:42 AM

message when implementing oData with offline store

49 Views

Hi,

I have implemented a project with oData service and i'de like to add offline functionality to it.

I wrote a function that opens offline store , but when it's done i'm getting the message: "OData functionality is not yes implemented" (see attached image)

Here is my code to open offline store:

var host = "/Northwind/V2/(S(e0mg3xrqgj0rzraiidzzsegs))/";

var properties = {

"name": "ProductsOfflineStore",

"host": host, "port": "8080",

// "https": applicationContext.registrationContext.https,

"serviceRoot": "OData/OData.svc",

"definingRequests": { "ProductsDR": "/Products", }

};

var openStoreSuccessCallback = function(e) { alert("success"); };

var errorCallback = function(e) { alert("fail"); };

var store = sap.OData.createOfflineStore(properties);

store.open(openStoreSuccessCallback, errorCallback);


image-1.png

Attachments

image-1.png (213.8 kB)