Skip to Content
avatar image
Former Member

Issue with Cross app navigation in Fiori Launchpad (Custom apps)

Hi,

I am facing a strange issue when doing a cross-app navigation on Fiori Launchpad (on-premise Gateway system). I am able to successfully launch both the apps from the launchpad independently without any issues. However, when I do a cross-app navigation from App 1 to App 2 using CrossApplicationNavigation service, I get the following strange error - adding element with duplicate id 'app'. Because of this, navigation stops and the existing page is reloaded. However, when i click on the same link again, the navigation now works fine.

UI5 library version on GW: 1.28.22 (SAP UI Add-on 1.0)

App 1 namespace: demo.titus.trackproducts (Intent: #Document-track)

App 2 namespace: demo.titus.products (Intent: #ZDemo101-product)

Navigation code:

this._oCrossAppNav = sap.ushell.Container.getService("CrossApplicationNavigation");
  // trigger navigation
  this._oCrossAppNav.toExternal({
       target: {
            semanticObject : "ZDemo101",
            action: "product"
       }
  });


Attached screenshot of Chrome Dev Console when the error occurred.

Any help on this is much appreciated.

Thanks,

Titus

Fiori_Console.png (73.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 24, 2016 at 08:56 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded