cancel
Showing results for 
Search instead for 
Did you mean: 

FIORI: App to App navigation: To the Object Page of second app

rahullohia
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello All,


I have two FIORI apps(both using flexible column layout), and my requirement is to navigate from one app to another but to the object page of second app in full screen mode. I am using semantic navigation by creating the "CrossApplicationNavigation" and specifying the semantic object of second app. However, I am forced to add a suffix in the final URL to ensure that the navigation works as expected.

Is there no way to pass this in the target configuration or manifest.json? The "parameters" dont seem to accept layout and/or expanded navigation.

Thanks,

Rahul

var navTarget = {
			semanticObject: oOutbound.semanticObject,
			action: oOutbound.action
		};

var oCrossAppNav = sap.ushell && sap.ushell.Container && sap.ushell.Container.getService("CrossApplicationNavigation");
		//Check if navigation intent is allowed for the user
		oCrossAppNav.isNavigationSupported([
			navTarget
		]).then(function (oResponse) {
			if (oResponse[0].supported === true) {
				var hrefDisplay = (oCrossAppNav && oCrossAppNav.hrefForExternal(
					navTarget
				)) || "";


				var final = window.location.href.split("#")[0] + hrefDisplay + link;
				sap.m.URLHelper.redirect(final, true);
			} else {
				//Navigation not supported, raise message ?
			}

View Entire Topic
MioYasutake
Active Contributor
I haven't tried it myself, but martinceronio's answer to below question may be relevant.

https://answers.sap.com/questions/480386/cross-application-navigation-with-routing.html