on 01-02-2017 8:22 AM
Hello,
I am trying my hands on Cross Application Navigation using Semantic Object Navigation. As mentioned in SAP library, I have loaded the following library in index.html for CrossApplicationService
I have written this piece of code for navigation on button click from App 1 to App 2.
This code is not working in the app, and it is not navigating to App 2 ( and also throwing no error in Console ). However, when I test this code in console, it is successfully navigating to second app. Is there anything I am missing. Kindly help 🙂
Thanks in advance!
Hi Simon,
Thanks for your prompt reply. I had also tried the code earlier that you just sent me. It is not working for me 😕 However same code is working fine when tested in console. Could you please share your project code and your LPD Cust params for the UI5 app that you have deployed. May be I am missing something.
Cheers
Parth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
the following code works fine for me.
var oCrossAppNav = sap.ushell.Container.getService("CrossApplicationNavigation");
oCrossAppNav.toExternal({
target: {
semanticObject: "<your_semantic_object",
action: "display"
}
})
btw: If you start your app over fiori launchpad, the index.html will not be executed. The FLP loads the component of you app and from there, the app will be started.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
the following code works fine for me.
var oCrossAppNav = sap.ushell.Container.getService("CrossApplicationNavigation");
oCrossAppNav.toExternal({
target: {
semanticObject: "<your_semantic_object",
action: "display"
}
})
btw: If you start your app over fiori launchpad, the index.html will not be executed. The FLP loads the component of you app and from there, the app will be started.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
the following code works fine for me.
var oCrossAppNav = sap.ushell.Container.getService("CrossApplicationNavigation");
oCrossAppNav.toExternal({
target: {
semanticObject: "<your_semantic_object",
action: "display"
}
});
btw: By including a UI5 in the Fiori Launchpad, the index.html will not be loaded. The Launchpad calls the apps component and from there, the app will be started.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun
Yes I have run the app from FLP itself.
Regards
Parth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did u run your app from launchpad? if not, i will not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
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.