Skip to Content

Custom tile Sap Cloud Portal

Hello,

I create my custom tile in SapUI5, the tile has a method in the controller on press to navigate to the sapui5 app.

press: function (evt) {

window.open('/sites?siteIdXXXX=SITEID#test-Display','_self');

}

When I add the tile into the Sap Cloud Portal with the roles, group and catalog, the tile works perfectly until I press it that I got this errors.

App could not be opened either due to an incorrect SAP Fiori launchpad configuration or a missing role assignment.Failed to resolve navigation target "#test-Display". This is most likely caused by an incorrect SAP Fiori launchpad content configuration or by a missing role assignment.

On F12 I can see in cosole:

Failed to resolve navigation target: #test-Display. This is most likely caused by an incorrect SAP Fiori launchpad content configuration or by missing role assignment. - sap.ushell.renderers.fiori2.Shell.controller

Can any help me with this case? Where is the best option to redirect when I press on custom tile to sapui5 app?, I do not think that the best way to redirect to sapui5 app is with window.open.

Best Regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Nov 02, 2019 at 04:49 PM

    I think you should check out the documentation on how to develop Navigation to Another SAP Fiori App.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 04, 2019 at 07:04 PM

    Thank you very much for reply.

    But I got that getViewData is not define

    Best

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.