Skip to Content
avatar image
Former Member

How to Reference SAPUI5 from MII Workbench irpt Page

Dumb question, but can't figure out how to reference the SAPUI5 library from a web page i created in the MII worbench. Running MII v15.1, I see the library in the file system here:

J00/j2ee/cluster/apps/sap.com/ui~five/servlet_jsp/sapui5/root/resources/sap-ui-core.js

and my normal project web address file address:

j2ee\cluster\apps\sap.com\xapps~xmii~ear\servlet_jsp\XMII\root\CM\

Of course replaced the backslashes with forward slashes in web page.

So how to reference the ui5 library. Messed around with ../ and absolute file reference, but no joy.

The web page is simple, just shows a dialog box, which works when I use the following:

src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"

Next baby step is using built-in library, but cannot get the reference correct.

Br, Dan K

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 05, 2016 at 10:59 PM

    "/sapui5/resources/sap-ui-core.js"

    Add comment
    10|10000 characters needed characters exceeded