Skip to Content

Run a Fiori App developed in WebIDE on a local Apache

Hello colleagues,

I have a Fiori app that we developed on the WebIDE, which just uses a dummy model (no OData calls). Now I would like to run this Fiori app on a local server. So I exported the Fiori app and copied the content of the zip file into the "htdocs" folder of the Apache installation. I then downloaded the OpenUI5 runtime (version 1.30.10) and copied the "resourses" folder also into the "htdoc" as well. When I know try to access the Fiori app in a Chrome browser, I get two "Failed to load resource" errors as shown in the attached screen shot.

Does anyone have an idea, how to fix this? Am I doing something wrong here or is there any documentation / blong available, how to run Fiori apps that are developed with the WebIDE locally?

Best regards,

Peter.

screenshot.png (38.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 22, 2015 at 03:30 PM

    Hi Peter,

    I would suggest to use the online SDK. You can do that by changing the source of the SAPUI5 bootstrap in the index.html to this:

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

      id="sap-ui-bootstrap"

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

      data-sap-ui-resourceroots='{"view": "./"}'

      data-sap-ui-theme="sap_bluecrystal">

      </script>

    Kind regards,

    Wouter

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 22, 2015 at 03:29 PM

    what i do:

    extract opeui5 to webapps folder

    so you have smth like

    \Apache7.0\webapps\openui5-sdk-1.30.4

    and in bootsrtap reference it like

    <script id='sap-ui-bootstrap' type='text/javascript'
       src="/openui5-sdk-1.30.4/resources/sap-ui-core.js"

    Add comment
    10|10000 characters needed characters exceeded