Skip to Content

OVP to OVP navigation with filters

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 20 at 05:21 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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