Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Fiori Launchpad - Hide Tiles with custom logic

$
0
0

Hello,

 

We currently have a scenario where we want to hide Fiori Launchpad Tiles depending on certain logic.

Example: We have some custom tiles that display pending approvals or tasks in external applications. We want to hide these tiles if no pending approvals or tasks currently exist for the user.

 

Can anyone recommend me the best way to achiev this requirement?

We have looked at the following possibilities.

  • Place javascripit in the tile component to hide the tile container (using tile.getParent().setVisible(false).
    • Disadvantages: The tile is removed from the page but this seems to break drag-and-drop/personalization functionalities
  • Attempt to use the Fiori Launchpad Shell Launchpage Service (JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ushell.services.LaunchPage) to remove the tiles or control the visibility
    • We have placed javascript on the Fiori Tile Component Controller (Init method) to call the setTileVisible/ removeTile method but nothing happens.

 

Could we control the visibility of the tiles on the server? I know that the tiles displayed to the user are based on the authorization roles.

But is there any interception point (OData Service or BADI) that we coul customize to remove certain tiles based on our logic?

 

 

Thank you in advance for any help

Best regards


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>