Skip to Content
0
Nov 01, 2019 at 01:14 PM

Custom tile Sap Cloud Portal

212 Views

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