on 07-18-2016 12:04 PM
Hi Experts,
I am using the HCP based Web IDE using my trial account to create a project using the Fiori Worklist template, which connects to the ES4 demo gateway system to fetch and display data.
When I run the project from Web IDE by selecting Run -> App a new tab opens with a blank page with no output. When I check the browser console I see the below error message:
However, when I replace the reference to the sap-ui-core.js in index.html bootstrap script tag from src="resources/sap-ui-core.js" to src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" can see the output just fine.
Does anyone know why is Web IDE not able to resolve the relative path to the SAPUI5 core?
Regards,
Saurabh
Instead of src="resources/sap-ui-core.js", have you tried src="../../resources/sap-ui-core.js"?
Sometimes that works for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try again with slash at first.
src="/resources/sap-ui-core.js"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Saurabh,
do you have the route information for the UI5 resource in your projects neo-app.json file?
"routes": [
{
"path": "/resources",
"target": {
"type": "service",
"name": "sapui5",
"entryPath": "/resources"
}
}
]
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.