One screen in different menu with different filter

Hi,
How can I insert one browser screen into different menu with different filter? For example, I have a browser screen - databrowser. I want to add it into two menus. When user click the screen in first menu, the filter is “like first” and in the second menu, the filter is “like second”.

Hi
You can do that as follows:

  1. find your browser screen registration in : web-screens.xml
    then copy-paste and rename the registration name as follows:

     <screen id="erp$CustomerInvoice.browse"
         template="com/company/web/ar/customerinvoice/customer-invoice-browse.xml"/>
    
  2. Go to menu, you will find the same screen twice as follows:

39%20PM

select the menu item and you will find an option to maintain as follows:
57%20PM

  1. Click on the Params edit button and you then maintain your required parameter
    04%20PM

  2. Go to your browser screen, inject the parameter in controller as follows:

    @WindowParam
    String transactionType;

Now you can use this parameter to filter your data in the desired way.

1 Like