on 10-22-2015 4:12 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maksim, hi Wouter,
first of all thanks a lot for your turbo-fast reply
I changed the source of the SAPUI5 bootstrap as you suggested Wouter. However, now I get the error "GET http://localhost/$metadata 404 (Not Found).
The "$metadata" file is indeed missing, but also in the WebIDE.
Best regards,
Peter.
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.