on 06-09-2016 1:58 PM
Hi All,
i want to Configure one App for Multiple Tiles in Fiori Launchpad , now based on Different Tile Click i want to Perform Open Different Websites.
now my Question is how can i know that which tile is clicked in View Controller Init Method
Please Let me know If any one Has Idea about it.
Thanks
Ashish
Hi Ashish,
You will not get it in Init function of controller.
First create a press event in your tile and define the same in Controller.
For example:
<TileContainer>
<StandardTile press="onTilePress" title= "abc"/>
<StandardTile press="onTilePress" title= "pqr"/>
</TileContainer>
In Controller:
onTilePress: function(oEvent){
var tileTitle = oEvent.getSource().getBinding("title").getContext().getProperty();
}
You will get Tile Title in tileTitle variable.
Regards,
Arpit Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this.getComponentData( ).startupParameters
should give u the paramter
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.