Skip to Content
0
Jul 18, 2016 at 11:04 AM

Problem with SAPUI5 library reference in Web IDE template projects

333 Views

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

Attachments

Capture.JPG (47.0 kB)