on 2021 Feb 02 10:10 AM
Hi everyone,
I recently start to work on MDK applications and after some tests with sample data I'm trying to use my own backend system.
My backend system is hosted by AWS, connected with a cloud connector and I'm working on SAP cloud foundry platform.
I created a destination in the CF:
And then created my application destination in Mobile services cokpit:
Everything is working good, I can try my destination by open it in another browser window and I can see entities from my service.
My problem occured in the mdk application wizard. I select my mobile service destination in the service configuration section and then depending on the "enable offline" field i get 2 different problems:
- Enable offline True: I get no entities in the next wizard section "OData Collection"
- Enable offline False: when trying to acces next wizard section, wizard crashes and i get these error messages:
(Error in mdk wizard: TypeError: gen.on(error) Cannot read property 'split' of undefined at splitOnTags)
Can someone help me fixing this please ?
Thanks for reading
Best regards.
Request clarification before answering.
Hello,
There might be an issue with fetching OData collections Mobile Services destination that is using CF destination, will look into it.
Can you create a new mobile destination with no reference to Cloud destination and see if OData collections are being retrieved for this new destination:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marion,
Sorry for the late reply due to my holiday.
We hide the off-line option for CF destination. (There is no off-line feature for the web app deployed to CF)
But for your scenario, you want to retrieve data from CF and deploy to Mobile Services. I can discuss with PO to show the off-line option for next release.
The current workaround is:
1) Save your backend metadata xml file, and then use "Local File" OData source option. (it can show offline option)
2) Because you want to deploy Mobile Services later, please make sure you input the same destination name with Mobile Services application's destination.
Thanks,
Zhen-kun Li
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a limitation to fetch that kind of mobile destination (cf enabled) in design time.
A workaround is to fetch CF destination to retrieve metadata in design time and deploy to mobile services.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
9 | |
9 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.