Skip to Content
0

SCP Fiori Mobile Hybrid Application : Offlne oDATA documentaton ?

Mar 21 at 03:40 PM

68

avatar image

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"
				}
			}
		]
	}
10 |10000 characters needed characters left characters exceeded

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

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Adam Harkus May 04 at 08:34 AM
0

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.


Share
10 |10000 characters needed characters left characters exceeded
Bob Gallo
May 03 at 07:16 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks Bob

More detail include.

Would really appreciate more info.

0

I spoke with development and they ask if you have a had a specific problem that we can answer.
Thank you

0