on 04-10-2014 8:31 PM
Hi,
We are downloaded the fiori app ca_all_apv using the report /UI5/UI5_REPOSITORY_LOAD. And then imported the files into the WebContent folder of a new SAPUI5 project. Ideally i expected that if a build project and then run the application using Run As->Web App Preview and open it in Chrome, it would work. But it does not load. I can see the background image but not the split app.
Am i missing something?
Best Regards,
Varun
You need to have TomCat server where you can deploy this project and run.
Instal tomcat in eclipse and then deploy the project to "run on" tomcat server.
You need tomcat 7.0 at least.
pls try that.
thanks
A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
I have tomcat7 and it does not work too.
I am trying to view the 'App Preview'. App preview should show you the html5 UI without any data. Tomcat is not necessary for it.
There are other custom apps i have written which launch fine. But in this case, it is the standard app with no changes done to it.
Thanks for the help. Keep more ideas flowing.
Regards,
Varun
Hi Varun,
-----------------------------
You can set up the UI Developer environment for creating or extending SAP Fiori apps. See Setting up the Environment for Creating or Extending SAP Fiori Apps
----------------------------
Regards, Masa
SAP Customer Experience Group - CEG
Former Member : I get no error. I can see a blank screen.
Hi Masayuki,
I took my time to go through all the links you provided. I setup the proxy servlet for running the application from eclipse and made the changes. However, it did not work.
So i started review all the application objects and i realized that the application script was missing in index.html. I checked the BSP application CA_ALL_APV in SE80 and noticed that there is no standard index.html. Is this normal for fiori apps?
When i created the SAPUI5 project in eclipse, it is then when the index.html was created. So, i added the application script as shown below.
<script> |
new sap.ui.core.ComponentContainer({
name : "cross.fnd.approve.requests"
}).placeAt("content");
</script>
However, it still does not work. The console log now shows an error. For some reason, the application is trying to find the component.js under resources folder.
I also added the following line to the bootstrap to ensure it refers to the root directory.
data-sap-ui-resourceroots='{
"cross.fnd.approve.requests" : "./"
}'
Hi Varun,
There is no index.html. Fiori apps use XML view and apps are launched from FioriLaunchpad.html.
To test app on Tomcat, Fiori sandbox is provided as part of SAPUI5 SDK.
Please take a look Extending and Testing SAP Fiori Apps.
Section 4. Testing the Extended Application on the local Tomcat sandbox.
Regards, Masa
SAP Customer Experience Group - CEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Masa and Ashish. i've got it running in eclipse with the proxy setup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.