Skip to Content
0

How to Reference SAPUI5 from MII Workbench irpt Page

Dec 05, 2016 at 09:47 PM

128

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
Former Member

Thank you for the quick help, that was it. Seems obvious after the fact.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
christian libich Dec 05, 2016 at 10:59 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for the help!

0