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:
-
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"/>
-
Go to menu, you will find the same screen twice as follows:
select the menu item and you will find an option to maintain as follows:
-
Click on the Params edit button and you then maintain your required parameter
-
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