avatar image
Former Member

Fiori template and offline (WebIDE)

Hi experts,

im currently trying to implement Offline inside a Fiori-worklist template(SAP WebIDE), with no luck.

Apperently all i need to do is add a simple line of code.

"var oOfflineStore = sap.OData.createOfflineStore(properties);"

Now this works in the sapui5-kapsel-offline template, but not in the Fiori worklist-template.

"createOfflineStore is not a function".

Apparently sap.OData is not known. This should be part of datajs. As far as i can see this is included in the Fiori template. I think this is there, because using odatamodel.createEntry is working fine, which is also part of datajs (right?).

Can someone help me, or explain to me why sap.OData.createOfflineStore isnt working? We really need to work with this template, so switching to "sapui5 offline template" isnt an option.

Also, if we want to use the sap Fiori Client, do we need make a custom Client with the Launchpad locally? If so, is there any documentation about this? I just cant seem to find any info about this, that we can use.

Thanks in advance for any reaction.

Rien

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers

Skip to Content