cancel
Showing results for 
Search instead for 
Did you mean: 

Page is not load in HANA Studio----'failed to load 'sap/ui/unified/header.js''

Former Member
0 Kudos

Hi Friends,

Recently i started working on SAP UI5 Application ,i created one Application which is working fine in locally (by using eclipse),

that related image attached here

where as i am using same code in HANA Studio but the page is not open properly which shows following error

Key points:

1] i am using XML view

2] viz chart for sample data

please find the controller and view  files attached below

Please let me know how to Fix it ....Thank you in advance

Accepted Solutions (1)

Accepted Solutions (1)

seVladimirs
Active Contributor
0 Kudos

Can you share your bootstrap (index.html) ? Please make sure that libs are defined there, see example below.

    <script id="sap-ui-bootstrap"

      type="text/javascript"

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

      data-sap-ui-theme="sap_bluecrystal"

      data-sap-ui-libs="sap.m, sap.ui.unified, sap.ui.commons, sap.viz"

      data-sap-ui-xx-bindingSyntax="complex">

    </script>

Former Member
0 Kudos

Thank you Vladimirs Semikins,


Exactly what you gave in reply that i coded in my bootstrap page except src tag , i tried "https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" as in src tag, it is working good

but my point is, it is mandatory for in HANA STUDIO ...rather that ''/resources/sap-ui-core.j''


if it like that thanks alot for you response

seVladimirs
Active Contributor
0 Kudos

Yes, you are right, it was just an example...

In your case it should be something like src="/resources/sap-ui-core.js" (make sure you are using correct path here).

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you Vladimirs Semikins

seVladimirs
Active Contributor
0 Kudos

Please close discussion by choosing correct answer -