on 07-29-2015 6:16 AM
Hello Experts,
Want to take advise,
I have a use case where i have same SAP UI5 component view and controller, Based on the click of Tile want to pass some parameter, which will load or call the gateway service based on that parameter.
I want to reuse the sapui5 application, only based on parameter passed from Tile want to load different set of Data, Please advise if its possible and how can it be done?
Best regards,
Rohit
Hi Rohit,
Please look at the help.sap.com. Parameter is available in the tile definition.
Static App Launcher Tiles - SAP Fiori Launchpad - SAP Library
Regards,
Masa / SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Masa,
Thanks for inputs,
Now able to get parameters in component.js file, How can pass this to view?
createContent : function() { | |||
return new sap.m.App({ | |||
id : "idApp" | |||
}); | |||
}, |
init : function() { | ||
sap.ui.core.UIComponent.prototype.init.apply(this, arguments); | ||
var sScenario = this.getComponentData().startupParameters.Scac[0]; | ||
this.getRouter().initialize(); | ||
}, Best regards, Rohit |
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.