cancel
Showing results for 
Search instead for 
Did you mean: 

Cloud foundry-Destination - Fiori launch pad - sap UI5- 500 error

alagar_pandian
Participant
0 Kudos

Hi Folks,

Have created MTA app with two html5 modules(UI5 apps) and one portal site module with reference of below blog.

https://blogs.sap.com/2018/10/28/develop-your-first-sap-fiori-launchpad-site-with-portal-service-on-...

I have created destination in cloud foundry and used the same in my html5 module and updated the below files accordingly.

screen3.png

screen4.png

HTML5 app works fine when individually run that in webide using run on cloud foundry feature and able to consume odata service using destination configured in CF.

But After deployment into cloud foundry when I open the app as a tile from fiori launch pad getting 500 internal server error for component.js loading.

screen2.png

screen1.png

Have I missed something which is specific to UI5 apps with portal site in cloud foundry?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

cosmo83
Active Participant
0 Kudos

If you are using WebiDE

Its a bit confusing option, export the folder from your webide. You should see a folder called newportal-approuter. In this folder there is a file called xs-app.json. Create the routes in them. Reupload it your webide. And build and deploy

If you find the answer useful, mark it useful

korayyersel_q
Participant
0 Kudos

Hi Phani,

I guess you can also do this directly in WebIDE. You just have to make sure that the hidden files are shown.

Regards,

Koray

Answers (3)

Answers (3)

cosmo83
Active Participant
0 Kudos

If you are using WebiDE

Its a bit confusing option, export the folder from your webide. You should see a folder called newportal-approuter. In this folder there is a file called xs-app.json. Create the routes in them. Reupload it your webide. And build and deploy

yvolution
Explorer
0 Kudos

Hi Phani, is this also applicable when doing BAS development?

cosmo83
Active Participant
0 Kudos

Sorry, Couldnt reply before.. create the route in your approuter. And it will be working for all yours apps in the Fiori Launchpad.. Working for me.

alagar_pandian
Participant
0 Kudos

sorry couldn't get you. can you tell me the procedure to do the same plz. I am new to CF.

cosmo83
Active Participant
0 Kudos

Were you able to solve this issue ? We are facing the same here ... Wanted to clarify

alagar_pandian
Participant
0 Kudos

Not yet, still working on it will let you if I find anything, you plz do the same.