Skip to Content

Navigation error in service CrossApplicationNavigation


I want to navigate to another application from my fiori app in abap environment(bsp), and I am using

var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");

However, this line throws an error in the browser,

Uncaught TypeError: Cannot read property 'getService' of undefined

I have included sap.ushell in the libraries in bootstrap, but this problem persists.

Appreciate any suggestions on what can be the cause.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Feb 09, 2016 at 08:42 AM

    Is your application running inside the shell (Fiori launchpad)?

    Also check the documentation of this class "


    JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference -

    Sample code here

    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" }

    })) || "";

    Also what is your UI5 library version.


    Sarbjeet Singh

    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.