cancel
Showing results for 
Search instead for 
Did you mean: 

Which HTML file is run when I deploy a UI5 app to the Fiori Launchpad?

Former Member
0 Kudos

Hi,

I am creating a UI5 app in the web IDE and registering it to the Fiori Launchpad.

My UI5 app contains multiple HTML files. When I run the app from the web IDE, I am prompted to select the HTML file to run. When I publish it to the FLP, however, it seems the FLP automatically understands which file to run, and I cannot understand the logic behind it.

I checked all the settings files of my app (flp-config.json, neo-app.json, .project.json etc) but cannot find anything which could indicate which file is the "main" runnable. I also checked the HTML5 app settings on HCP, and the tile settings on the FLP, but no joy on that side either.

If anyone could shed a bit of light on how the FLP determines this, it would be greatly appreciated.

Thanks,
Chris

Accepted Solutions (1)

Accepted Solutions (1)

jamie_cawley
Advisor
Advisor

Any fiori style app's main entry point is the component.js. If you deployed a non fiori style app to hcp and then registered as a url based app in the launchpad it would use the welcomeFile defined in the neo-app.json.

Regards,

Jamie

SAP - Technology RIG

Former Member
0 Kudos

That makes sense. Not the way it's done in the web IDE, then. Thanks!

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

i don't know hcp, in abap flp, no html is called. I think hcp should be similar.

Former Member
0 Kudos

Hi Jun,

Thanks for your answer - perhaps I have not been clear enough. Each UI5 app needs to be embedded into one specific HTML file; as such, this HTML file needs to be run for the UI5 app to be displayed. There is no way around this.

junwu
Active Contributor
0 Kudos

no.

flp is the html, which will embed your app, they don't need any other html. you just provide the ui5 component. that's it.

Former Member
0 Kudos

Ok, let me formulate it this way. How does the FLP determine which HTML file (inside my project) is the UI5 component?