on 03-22-2019 11:23 AM
Hello All,
We have a requirement of launching the same application as target app for multiple tiles.
Since we are just showing a table with different data, we don't want to create multiple applications. Instead we want to create one application and attach it to different tiles and have a parameter in the tile configuration which directs the app for the odata to be pulled.
The question is how to read those tile parameters in the SAPUI5 application?
Hi,
in the component.js file of your application, in the init function for exemple, you can access the tile parameters with :
this.getComponentData().startupParameters
Regards
Fabrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabrice,
Thanks for the quick reply. I tried the function which you mentioned, but the component data is undefined.
I am passing the parameter "mandt=client_number" in the semantic object parameters field. Please find the below screenshot. Is this the correct way of passing the parameters to the tile application?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
do not understand your request: one Tile is enougth.
You just need to have a filter, or a key, when you call the OData in order to display corresponding data into the Tile.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.