cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment of SAPUI5 Apps on HCP-Trial

tiestvangool
Explorer
0 Kudos

Experts,

Not sure what to ask as the behavior I am witnessing baffles me...

Working with the Hana Cloud Platform Trial license - all is good, HANA XS applications work perfectly, no issues.

Assuming the Open UI5 tutorial has been used several times I cannot understand why I cant get step 3 to produce results...

For some reason the tutorial no longer works this evening - on multiple machines and I dont understand what is wrong

Earlier today I was able to complete step 7 but at this point the trial instance does not seem to understand the location of the UI5 libraries...

<title>Walkthrough Mistery</title>

      <script

         id="sap-ui-bootstrap"

         src="/resources/sap-ui-core.js"

         data-sap-ui-theme="sap_bluecrystal"

         data-sap-ui-libs="sap.m"

         data-sap-ui-compatVersion="edge"

         data-sap-ui-preload="async" >

      </script>

      <script>

         sap.ui.getCore().attachInit(function () {

             alert("UI5 is ready");

         });

      </script>

Can someone help me to understand what I am doing wrong?

-Tiest

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Kudos

Hello Tiest,

do you have the corresponding resource entry to access the UI5 resources in your neo-app.json file?


{

  "routes": [

    {

      "path": "/resources",

      "target": {

        "type": "service",

        "name": "sapui5",

        "entryPath": "/resources"

      },

      "description": "SAPUI5 Resources"

    }

  ]

}

Best Regards,

Florian

Answers (0)