How can we pass a parameter to the browser screen when opened via LookupPicker field?
I have two screens and both of them have customer lookupPicker field. When I lookup customer customer.browser screen is displayed which is very much default in CUBA. Now I want to filter the SQL of customer.browser for which the parameter is passed from the screen calling it. I didn’t find any option to pass such parameter unless I am missing something. Thanks in advance.
Also, check these links:
How to use your parameter in a query, see documentation.
About @WindowParam annotation in the documentation.
Also, you can read about CreateAction and EditAction, because they provide setWindowParams method, see documentation.