on 2014 Aug 13 8:55 AM
Hi All,
I have a requirement to pass a parameter from Fiori launchpad to the application. Then i have to use that parameter to construct the OData service URL and read the data. So how can we pass the parameters from Fiori launchpad tile to app? Thank you in advance.
Regards,
Seshu
Tags edited by: Michael Appleby (but please start doing this on your own)
Request clarification before answering.
Hello Seshu,
have you read the following documentation?:
In your case you simply have to use the following Coding in your component.js
var sScenario = this.getComponentData( ).startupParameters.BUS_SCENARIO[0];
If you have more startup Parameters they will all be in
this.getComponentData( ).startupParameters;
(Note: you will have to use a component in your UI5 App to do so)
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
good reply but in my case, I need to jump directy the the 3rd view of the destination app.
How can I "tell" the app to get directly there.
(my first view is a field search page, then the second the client list, and the third is the clients's products.Resuming: with a click on the product ID on the first app, I aim to jump directly to the selected clients's product).
I do have a component.js and can grab the sartupParameters.GUID[0] (that has the product ID).
The documentation here (Handling Startup Parameters - User Interface Add-On for SAP NetWeaver - SAP Library) doesn't give a good explanation on how does it work or how to implement it.
Any help is welcome.
Many thanks,
Marc
User | Count |
---|---|
85 | |
29 | |
9 | |
9 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.