Skip to Content
author's profile photo Former Member
Former Member

sap-ui-core.js source?

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

1.PNG (12.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Nov 07, 2013 at 12:59 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • Posted on Nov 06, 2013 at 01:45 PM

    Hi Sangamesh,

    Your screenshot is not visible.

    Could be please attach it again.

    Regards

    Prabhith

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2013 at 04:06 PM

    @Thomas Jung

    Could you please suggest a solution for the above problem?

    Thanks and Regards

    Sangamesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2014 at 07:15 AM

    Hello Sangamesh,

    SAPUI5 is implemented in JavaScript. For loading UI5, its bootstrap needs to be included with a <script> tag.


    sap.ui.core:

    In addition to basic framework classes such as Control and Element, the library also provides some controls such as HTML for embedding native HTML as well as the model and data binding classes.

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

    it will initiates the different libraries related to the SAPUI5.

    Regards,

    Prasad Sistla.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.