on 05-03-2016 10:49 AM
Hi Experts,
We are using mobile portal for our client. We incorporated few custom fiori applications on the portal. I have a scenario like I need to navigate back to the landing page of the mobile portal (not fiori launch pad.) from one of the application.
Because of some reason, the below part of the code is not working on my case on mobile portal.
window.history.go(-1);
The code bellow will take us back to the launch pad. But I want to navigate back to the fiori framework page of the mobile portal(Thats the landing page here).
sap.ushell.Container.getService("CrossApplicationNavigation").toExternal({
target: {
shellHash: "#"
}
});
DO we have any such code for the mobile portal fiori framework navigation...?
Please advise me...
Rabin D
don't know what u are talking.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Jun Wu,
Thanks for the quick response...
My question is .. is there any way to navigate back to to the mobile portal home page by coding.
The code I mentioned above is taking me to the fiori launch pad of the gateway system .
However I want to navigate to the Mobile portal home page. There is home button which will do the same. But here I am looking the option to do via coding.
Pls let me know incase i am not clean again...
Thanks
Rabin D
Hi,
I assume you are running Fiori Framework Page on the portal, running a Fiori iView (gateway), yes?
then the Fiori iView is running within an IFrame (using AI).
If your code is in this iframe , you can try running the code on the parent iframe , or top.
parent.sap.ushell.Container.getService("CrossApplicationNavigation").toExternal({
target: {
shellHash: "#"
}
});
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.