Skip to Content

SAPUI5 Cross App navigation using Parameters

Hi All,

We are trying to do a cross app navigation from a page in the first app to the next App. The target App is having an inspector panel and we need to populate the panel with data populated from the keys/parameters passed from the first app.

We were able to pass the parameters, whereas we are not able to retrieve those parameters in the second App.

var xnavservice = sap.ushell && sap.ushell.Container && sap.ushell.Container.getService;
&& sap.ushell.Container.getService("CrossApplicationNavigation");
var href = ( xnavservice && xnavservice.hrefForExternal({
target : { semanticObject : "Product", action : "display" },
params : { "ProductID" : "102343333" }
})) || "";

Regards

Sunil

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 20, 2019 at 10:16 AM

    Hi,

    in the following document you can find a code sample to read the passed parameters.

    https://help.sap.com/viewer/a7b390faab1140c087b8926571e942b7/1709%20000/en-US/079561b716bb4f2f8ae4e47bacbdb86d.html

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

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.