Skip to Content
0
Former Member
Jan 22, 2016 at 07:44 AM

Open Offline Store WithOut SMP Register

104 Views

Hi All,

I am developing a Hybrid application using Cordova 4.2.0, SMP SDK 3 SP8 PL2,

Is it possible to open the offline store without registering moble with SMP Server?

var properties = {

host: "54.208.252.XXX",

https: false,

name: "PLANTCollection",

port: 8000,

serviceRoot: "http://54.208.252.XXX:8000/sap/opu/odata/invmsx/msalesx_srv/",

"definingRequests" : {

"PlantCollection" : "/PlantCollection"

}

};

store = sap.OData.createOfflineStore(properties);

//var options = {};

store.open(openStoreSuccessCallback, errorCallback/*, options*/);

I am getting null Receiver Error.

odata,logon both are different plugins correct, then why can't we use only odata plugin.

Thanks

Suresh