on 05-03-2016 2:29 PM
Dear all,
I need some help in SAP Screen Personas Scripting.
I've build a Flavor with a Fiori-inspired design and implement this transaction with the flavor in the Fiori launchpad.
This already works without any problems, but now I want to extend this transaction a little bit.
In Fiori apps there is always a back-button at the top left side of the app. With this button you can go one step backwards and finally reach the launchpad like you click the home-button.
To go backwards I use the already existing back-button from the original transaction, but I don't know how to go back from the transaction to the launchpad (the last step backwards).
Is there any functionality in SAP Screen Personas java-script to go back to the launchpad?
Best Regards,
Thorsten
Can you try running the script
window.location.hash = "#";
When back is clicked on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thorsten,
Everything in Personas and also FLP is placed in the form of iViews.
So use the code below to go back to the FLP when u click on the back button
window.top.location.href = "URL OF YOUR FLP";
This changes the url of the top level window so that u can go back to your Fiori Launchpad.
Hope this fixes your issue.
regards,
Vigneshkkar
The simplest way to get back to the SMEN transaction from anywhere is:
session.startTransaction("");
You may also want to add a flavour switch to make sure the right flavour is active.
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve,
thanks for your quick response, but unfortunately this isn't what I want to do.
I'm in transaction XY which got a Flavor, a Theme and is implemented in the Fiori launchpad like you see in the screenshot.
In transaction XY:
Then I press the green button at the top left corner in the transaction area. I want to go back to homepage of the Fiori launchpad now.
With your solution, I'm going to open the homepage of the SAP GUI for HTML inside the "app" like you see in the following screenshot.
After I hit the green back button (script button):
But I want to open the homepage of Fiori launchpad like you see here:
Do you understand what I mean Steve?
Thanks a lot!
Best Regards
Thorsten
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.