Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

Re: WebIDE generated UI5 app fails when run as widget in HCP Portal

$
0
0

Cheers all for the answers so far...

 

My index.html now looks like this:

<script id="sap-ui-bootstrap"

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

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

  data-sap-ui-theme="sap_bluecrystal"

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

  data-sap-ui-resourceroots='{"com.test.northwind": "./"}'>

  </script>

 

And my neo-app.json still contains this:

 

    {

      "path": "/resources",

      "target": {

        "type": "service",

        "name": "sapui5",

        "entryPath": "/resources"

      },

      "description": "SAPUI5 Resources"

    },

 

The app still works fine stand-alone (although it still throws an error that it can't find sap-ui-core.js, when it obviously can.)  However I'm still having issues with it running when embeded within HCP...

 

Cheers,

G.


Viewing all articles
Browse latest Browse all 3354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>