on 09-02-2021 10:07 AM
I'm building a UI5 App which is deployed via Cloud Foundry. I'm able to deploy and open the app without issue, however, my Services no longer connect once it's deployed.
When I preview the application via BAS the services work fine, I'm able to consume the OData via said Services and display it, everything looks good. I can see the Services in the Service Center in BAS, green light, all is go.
These services are provided via a Cloud Connector (if that matters?).
Something changes after deploying. Presumably there is some configuration I've missed somewhere?
All the tutorials I've found are either just about deploying or just about consuming services but never both together. Any help would be greatly appreciated, I've been walking in circles on this one for a few days now.
Thanks for your time 🙂
There are a few differences between the preview mode of the SAP Business Application Studio and running via the managed approuter (launchpad subscription). Is it possible that you use absolute URLs to connect to your destination? Or are the destinations not properly maintained in the xs-app.json?
It's important that you use relative URLs and declare the destinations in the xs-app.json that lives in your webapp. This post here might help you as well as it contains explanations for this things I mentioned above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marius, thanks for your response. I ended up just following along with the tutorial video you provided on your blog post, created a new project and after deploying I still have access to my services. Not sure what is happening in my original project, but I've just copied over everything that I need into the new project and everything is working now. I guess something was initially configured differently somewhere.
Thank you again for your time and response 🙂
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.