cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sap-ui-core.js source?

Former Member
0 Likes
3,005

Hello,

I am trying to execute a HelloWorld application using SAPUI5.

I do not understand this part where I get the path of "sap-ui-core.js" as highlighted in the picture.

And also could any1 tell me what is the significance of this?

As per my underatnding from the tutorial on HANA, it indicates what kind of system we are connecting to for example : HANA, ABAP...

Thanks

Sangamesh

View Entire Topic
pfefferf
Active Contributor

Hi Sanagmesh,

the resource settings only describes where the UI5 JS lib is available. Using a relative path (as in your screenshot) is possible if the lib is available on the same server than your UI5 app (e.g. on a HANA XS, NW).

You can also include the lib with following absolute path from SAPs ondemand site:

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

Regards, Florian

Former Member
0 Likes

Hello FLorian,

Thanks. Seems like I am half way there to solution.

Now I have a problem.

I am using Cloudshare 30 day free trial.

I made the following changes after your suggestion:

My "Helloworld view" as follows:

My repository view:

Now, I save and activate everything. All works fine.

I switch to browser to see the button "Hello World" with action "fadeout" and I give the link:

Result : When I send request, the browser loads for sometime(15 seconds) and gives back an empty page. Whats the reason for this? Do you find any missing statement or value in the code??

Is the link that I have typed in the browser is correct?

Your suggestion would be appreciated.

Thanks

Sangamesh

pfefferf
Active Contributor
0 Likes

Hi Sanagamesh,

your XS Engine is up and running (check with hanacloud:8000)?

On an HANA system you can use the path "/sap/ui5/1/resources/sap-ui-core.js" to include the lib.

You can also can check if the UI development kit page comes up (hanacloud:8000/sap/ui5/1/sdk/#content/Overview.html).

Regards, Florian