cancel
Showing results for 
Search instead for 
Did you mean: 

Custom tile Sap Cloud Portal

fjcvsap
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

fjcvsap
Participant
0 Kudos

Thank you very much for reply.

But I got that getViewData is not define

Best

gregorw
Active Contributor
0 Kudos

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