cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to consume HTML5 app in Fiori Launchpad@HCP

former_member190457
Contributor
0 Kudos

Hi all,

I've developed an HTML5 application that works ok and I can consume it correctly when launched standalone.

Now I'd like to integrate it into the Fiori Launchpad but I'm getting some errors.

Any help would be highly appreciated.

My WebIDE workspace is as follows:

The application structure was created freestyle without templates, but I sticked to UI5 best practices.

The HTML5 application name is: taskinbox

The component.js is declared as follows:

The application is configured on the launchpad as follows:

I know that I should reconfigure the configuration.js file but at the moment I'd like just to display the screen, even if the service call fails.

At runtime I get this error:

I am unable to troubleshoot this, can anyone please share some insight?

Thanks, regards

Vincenzo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vincenzo,

I think the problem might be related to the component URL configured in the app configuration.

Try changing the component URL to "/" instead of "/taskinbox".

Let me know if it helps.

Regards,

Barak Kinarti

former_member190457
Contributor
0 Kudos

Hi, thanks a lot for your help

I've tried to change the value of the component URL to '/', but now a new error is generated:

Also if I restore the previous value (/taskinbox) the same error stays on.

Not sure whether the UI5 application should be structured differently.

Is the general structure of the application ok?

Thanks, regards

Vincenzo

Answers (1)

Answers (1)

former_member190457
Contributor
0 Kudos

I solved the problem above by means of the following blog

thanks, Vincenzo

thomas_knobloch
Advisor
Advisor
0 Kudos

Hi Vincenco, we have the same problem. Our app is starting, but connection to Gateway Server is not possible, error 404 (not found). Did you face the same problem and how did you solve it.

Thanks, Thomas

thomas_knobloch
Advisor
Advisor
0 Kudos

Ok, it works now. Problem was configuration of ServiceURL in component.js