on 2018 Mar 21 3:40 PM
I'm struggling to find any clear or coherent documentation on implementing offline oData through SCP Fiori Mobile.
The best info I've came across has been to add the following to Manifest.json here :
https://blogs.sap.com/2017/03/22/make-offline-app-using-sap-cp-mobile-service-for-sap-fiori-part-1/
Is there any other documentation out there?
"sap.mobile": {
"_version": "1.1.0",
"definingRequests": {},
"stores": [
{
"name": "CategorySet",
"serviceRoot": "/SAPUI5-ABAP-SFI/sap/opu/odata/sap/ZSV_SURVEY_SRV/",
"definingRequests": {
"CategorySet": "/CategorySet"
}
}
]
}
The Issue is when building a packaged SAPUI5 app (HAT plugin installed on WEB IDE) with this manifest.json in SAP WEB IDE (see screen shot), The app is built and the oData offline store is provisioned fine. But second time into the app the store is provisioned again, and hangs. Also, there is no clear and consistent documentation on how to run the offline commands (flush, refresh) etc from a WEB IDE perspective.
I've found various blog explaining various parts, but nothing that has enabled me to build a working application.
Do I even need the Manifest.json at all? or do I just upload a configuration file in the SCP Development & Operations service?
Lastly, the app is packaged in a way that includes the Fiori Dashboard header which isn't necessary (see screenshot), this blog manages to remove it but I can't find anything to disable it. https://blogs.sap.com/2017/03/22/make-offline-app-using-sap-cp-mobile-service-for-sap-fiori-part-1/
I'm deploying to Android only. We don't need to deploy to iOS as all our company mobiles are on Android.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have searched and ask Development to see if we have more doc on this subject.
With that said it was unclear from your post what your specific problem maybe?
Can you please let us know
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.