on 09-25-2017 12:02 PM
Dears,
I have a FIORI Element app with ListReport and ObjectPage.
in ListReport, there's a list of Documents.(let's call it Screen A), I can goto the detail object page by clicking:
In the object page, I can also navigating to details of Line Items by clicking:
Then I'll be in detail of LineItem.
What I want is to navigating from the first screen directly to the detail of LineItem(third screen).
I've read documents that I can use navigateInternal of sap.suite.ui.generic.template.extensionAPI.NavigationController,
but I don't know how to get correct vContext or oNavigationData.
Any suggestion?
Regards,
Blangero
Hello Mr. Wang.
I've been trying to contact you because I have a development request that is almost the same you are describing here.
Would it be possible to get an example on how you got the line items table working on the object page?
All the examples I've found so far, haven't helped at all, but I've noticed that you were successful in that point and I would like to implement the same solution.
Could you provide me a contact to you so that we could talk? Or an example on how you achieved that?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carlos,
Sorry for the late reply, I've got no frequent access to Community these days.
The way I got it work is simple - generate URL from developers side, I find existing UI5 controls do not help.
In my case, the URL consists of two part : a) host and Application info; b) key-value pairs for 1st/2nd detail page.
such as:
www.myhost.com/blahblah/FioriLaunchpad.html?#MyApplication/DetailPage1(Key1=Value1&Key2=Value2)/DetailPage2(Key3=Value3&Key4=Value4).
you can get the a) part by OnClick event of a link in one item in the table:
URLa = oEvent.getSource().getBindingContext().getPath()...
by doing this, I can get www.myhost.com/blahblah/FioriLaunchpad.html?#MyApplication/DetailPage1(Key1=Value1&Key2=Value2)
and then I can generate URL by
URL = URLa + '/DetailPage2' + '(Key3=' + value3 + ....
of course value1/2/3 if fetched from context, also in OnClick event. in the code.
Hope this helps
Regards,
Blangero
Hi,
Maybe you already solved it, but below my solution:
You can use conditional navigations following the help: https://help.sap.com/viewer/468a97775123488ab3345a0c48cadd8f/7.51.2/en-US/01c0cb5e6d794ec99e710b7abe...
Furthermore you have to extend your manifest file with your requested navigation target:
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 | |
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.