Setting a default dynamic filter in a Related List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2019 12:22 AM
Hi,
We have implemented a Related List in a form. This Related List is created via System Definition --> Relationship. In this Relationship, we have a simple script which filters the record from 'Queries from table'. All is well. The intended records are showing up in the 'Applies to table', the Parent table form. Now, we would like to introduce a default filter to this Related List. So that when user clicks Right click on mouse and choose 'Open New Window', these default filters applies and shows only those records which are relevant to the parent table form as it happens in a simple Related List. The option to set default filters exists in the Related List but it is not dynamic ( 'Set as Default Filter'). Is there any way to achieve this ?
Please share your thoughts.
Regards,
Amit

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2019 12:23 AM
Hi
The below link seems to be of your help -
Regards,
Omkar Mone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2019 04:22 AM
Hi Omkar, Thank you for your reply. I followed the approach but it didn't work out. As per the thread, I need to set table 'sys_ui_list_control' field 'edit_default_filter' with our filter string in a Display BR. But while doing so, I am getting
java.lang.NullPointerException: java.lang.NullPointerException: | Error | com.glide.ui.ServletErrorListener |
Seems, we cannot set up the filters on the go.
Thanks,
Amit