SAP-samples / cap-sample-incidents-mgmt

Sample CAP and SAP Fiori elements app. Customers create incidents, which an incident processor works on.
Apache License 2.0
1 stars 5 forks source link

Lanuchpage is not working #13

Open corey-aloia opened 4 months ago

corey-aloia commented 4 months ago

I had this issue when going through the incidents management tutorial, and so I decided to clone this repo and try.

When I start this project using cds w then, go to http://localhost:4004/launchpage.html#Shell-home and click on Incidents-management I get Failed to load UI5 component for navigation intent "#incidents-app".

A pop up did appear asking for a username and password, and so I put in alice with a blank password. I still see the error Failed to load UI5 component for navigation intent "#incidents-app"

Any help is appreciated!

corey-aloia commented 4 months ago

Through trial and error, it looks like adding an id of "sap-ushell-bootstrap" fixes this. See the PR here: https://github.com/SAP-samples/cap-sample-incidents-mgmt/pull/14

But I have to ask: how is someone supposed to figure this out? To me, there are many hidden things that are not self discoverable, and can only be known by pouring over the documentation. It would be helpful if the walkthrough linked to the official documentation for these things. I.E. in the section that discusses the launchpad, it would be great to have documentation to these configurations.