on 2013 Nov 06 12:01 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.