on 10-12-2020 4:37 AM
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 ?
}
https://answers.sap.com/questions/480386/cross-application-navigation-with-routing.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.