cancel
Showing results for 
Search instead for 
Did you mean: 

Register UI5 app to Fiori Launchpad from WebIDE fails with 404, remains unregistered

Former Member
0 Kudos

UI5 applications are not registering successfully to the Fiori Launchpad from the WebIDE, as of Thursday 7 April 2016.

While all appears to have been successful, all attempts to run the live Fiori version fail, with 404 not found on direct requests, and 'could not open app' from FLP.

Symptoms:

From WebIDE, right-click project -> Deploy -> Register to SAP Fiori Launchpad

Complete wizard and a flp-config.json file is added to the project and message displayed stating Registered Successfully. No special characters were used in the app name, simple letters.

New flp-config.json is pushed to git.

Returning to WebIDE and right-click project -> Deploy -> Application Status shows the application is registered to SAP Fiori Launchpad, however the URLs result in errors 'Could not open app try again later'.

Back in HCP, under HTML5 Applications, the URL for the Active Version of the app results in HTTP 404 not found, despite appearing identical compared to another of our older functioning apps. App is started with an active application version. Download link works, proving that the app is registered to the correct git version. Starting/stopping has no effect.

The app functions perfectly when run via WebIDE, both as a web app and in Fiori component sandbox.

Can't see a way to 'unregister' the app and try it again, and re-registering also has no effect.

Can anyone reproduce this problem?

Accepted Solutions (1)

Accepted Solutions (1)

michal_keidar
Active Contributor
0 Kudos

Hi,

What does the console log say when you launch the app from FLP? Perhaps there's an unhandled error coming from the app itself.

Regarding executing the app directly from HCP, make sure you have an HTML file and that the path to it is configured properly in the neo-app.json's welcomeFile property (see more info: SAP HANA Cloud Platform).

There's no option to 'unregister' from Web IDE, you can however delete it from your FLP directly.

Regards,
Michal.

Answers (1)

Answers (1)

Former Member
0 Kudos

Many thanks Michal, the issue lay in the neo-app.json file.

The welcomeFile property was incorrectly configured to /webapp/index.html, when it should have been /index.html.

The index.html correctly resides above the /webapp folder.

The Fiori launchpad functions correctly now.

This may possibly be a bug in the basic SAPUI5 application project template currently available through WebIDE.

The template generation information from .project.json is:

"generation": [

    {

      "templateId": "ui5template.basicSAPUI5ApplicationProject",

      "templateVersion": "1.32.0",

      "dateTimeStamp": "Wed, 09 Mar 2016 15:45:58 GMT"

    }

  ],

michal_keidar
Active Contributor
0 Kudos

Hi,

I don't think it's a bug in the template. These templates are generated in a way to make them executable in Web IDE. If a user would like to deploy and execute them from HCP, he should modify the welcomeFile property accordingly before deployment.

Regards,
Michal.