cancel
Showing results for 
Search instead for 
Did you mean: 

Extending Inbox 2.0: No parent route with 'cross.fnd.fiori.inbox.Component:detail

0 Kudos

Hi all,

we want to extend the Fiori inbox 2.0, to make sure that further attributes are shown when approving leave requests via the inbox. Could someone please help with the following questions:

- Do we really have to extend the application CA_FIORI_INBOX or do we need to extend the application HCMFAB_LRAPR_IN (which is actually responsible for approving leave requests)? We want to display further information in the details section of the leave request (right side).

- I have already tried to use the Web IDE to create an extension project. After creating the application I have deployed that application to the gateway. I have also created everything needed to display the application in the launchpad but the problem is, that the application is not displayed properly, showing the error (browser console):

"No parent route with 'cross.fnd.fiori.inbox.Component:detail' could be found - EventProvider sap.ui.core.routing.Route"

The application I am starting is basically a copy of CA_FIORI_INBOX. I have not changed anything in the source code of the extension project.

Does someone has a hint which helps to resolve that issue?

thanks a lot,

Dietrich

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Tracy,

thank you for your response, but I think I have found out what the problem was. The error was a wrong configuration in the launchpad. I copied the configuration of the standard application without considering that the application has to be deployed as an embedded application in the inbox. This is a setting I had to set, to make sure, that the new application starts accordingly.

regards,

Dietrich

meinhardt
Explorer
0 Kudos

Hi Dietrich, would you mind elaborating on your actual solution and giving a bit more detail?

I was just facing the same problem (UI5 1.52) and it seems that the route class (sap/ui/core/routing/Route) does some matching against the owning component's name (in method _getParentRoute), but it does not handle the case that the component was subclassed and thus has a different name.

Also I saw that the Leave Approval app is based on the route named "detail" belonging to component "cross.fnd.fiori.inbox" instead of just matching the URL. But in a newer version of the app the URL is matched, so there is no problem.

What was your actual solution? Does it still involve an extension of My Inbox?

Thank you very much in advance,

Lennart

Answers (1)

Answers (1)

tracy_barkley
Employee
Employee
0 Kudos

Dietrich,

Do you have the note applied that corrects this issue for Leave Requests? https://launchpad.support.sap.com/#/notes/2679235

Tracy