Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Deployment of SAPUI5 Apps on HCP-Trial

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

Former Member
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question