Skip to Content
0

OVP to OVP navigation with filters

Apr 13 at 10:28 AM

250

avatar image

Good morning,

I'm trying to implement an Overview Page to Overview Page UI5 Apps navigation through semantic object / action piloted from a specific card of the starting Overview Page.

Is it possible to make the linked Overview Page (jump-to) inheriting the filters set in Smart Filter Bar of the first Overview Page? Also second Overview Page has a Smart Filter Bar with same Filters (pointing same Odata of Smart Filter Bar of the first OVP) and I would like the filters to be passed between the two Overview Pages avoiding the user to refill them.

Any suggestions?

Kind Regards,

Pierfrancesco

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Felipe de Mello Rodrigues 5 days ago
1

Hi Pierfrancesco,

I've never configured a navigation between two Overview Pages but I know for sure that you can fill the filters using URL parameters.

If you configure your navigation to send the context the system will get the fields inside your card and send to the target, this is the example of your DataFieldForIntentBasedNavigation:

<Record Type="UI.DataFieldForIntentBasedNavigation">
  <PropertyValue String="MySemanticObject" Property="SemanticObject"/>
  <PropertyValue String="display" Property="Action"/>
  <PropertyValue Property="RequiresContext" Bool="true"/>
</Record>

This annotation will trigger the following navigation:

#MySemanticObject-display?Company=XXXX&Plant=YYYY

Just remember the properties in the card inside of the first OVP should have the same name of the filters in the second OVP. Also, just to make my point clear, the filter is not transmitted from the first OVP Smart Filter to the second OVP Smart Filter, but from the line selected inside the card of the first OVP to the Smart Filter of the second OVP.

If you cannot configure the same name for all the properties there is also a simple trick to convert the URL parameters through the Target Mapping configuration in the Fiori Launchpad. Check the example below, the source application is sending Company but the target application expects BUKRS, with this technique the value will be converted by the FLP shell and the target application will receive the value.

Hope this information helps.

Cheers,

Felipe

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Felipe,

thanks for your detailed answer.

I've tried following the logic you suggested. I can see in the URI of the second page the parameters I passed from first OVP but the problem is that parameters are not passed to smart Filter Bar to select the content of the various pages.

Navigation from OVP to, for example, an List Report Object Page works fine, the problem is the second OVP page is unable to use the parameters received in the URI.

Have you experienced something like that?

Thanks a lot,

Regards,

Pierfrancesco

0

Hey Pierfrancesco,

I would advise you to review the name of the fields in the smart bar filter in the second OVP, looks like the names are not exactly the same as you transmitted in the URL. If the names match between the pages you should see the filter populated, I've tested this functionality with a demo application and it worked fine, check the result below:

Without URL Parameter:

With URL Parameter:

Cheers,

Felipe

0