cancel
Showing results for 
Search instead for 
Did you mean: 

SCP Fiori Mobile Hybrid Application : Offlne oDATA documentaton ?

former_member239819
Participant
0 Kudos
380

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"
				}
			}
		]
	}
bob_gallo58
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member239819
Participant
0 Kudos

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.

bob_gallo58
Participant
0 Kudos

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

former_member239819
Participant
0 Kudos

Thanks Bob

More detail include.

Would really appreciate more info.

bob_gallo58
Participant
0 Kudos

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