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);