Skip to Content
author's profile photo Former Member
Former Member

Passing Parameter from fiori launchpad to the app in sapui5

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)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 13, 2014 at 08:05 AM

    Hi Seshu,

    It is static value or dynamic value? Where is the value stored?

    Please share examples and use case scenarios.

    Regards, Masa

    SAP Customer Experience Group - CEG

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2014 at 03:47 PM

    Hello Seshu,

    have you read the following documentation?:

    Embedding SAPUI5 Applications into the Fiori Launchpad Application Container - User Interface Add-On for SAP NetWeaver -…

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.