0
votes

We have this scenario in which we would like to use the same ui5 application for 2 different Launchpad tiles. When user clicks on first tile all the data should be displayed in Smart table but when user clicks on second tile same table will be used but before displaying the content some filter will be applied and less data will be shown.

I am thinking of get the tile ID and according to the tile , I will apply the filter. How it can be achieved ?

Regards, MS

1

1 Answers

0
votes

Multiple tile

once you have added tile use press event to call function and provide event as parameter to that function.Using below line You can get title OR use _getTileIndex() and accordingly you can apply filter

sap.ui.getCore().byId(oEvent.getParameters().id).getTitle()