Edit default filter on List control is not getting applied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 02:08 AM
Hi, I'm trying to put filter on the related records of Demand table that needs to be added for a program.
When the user clicks on Edit button, the default filter should auto-applied, which is not happening currently.
If you observe the list control record, I used Active=True as filter, but when I click on Edit button it shows some OOB filter. Please help me to override/modify that filter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 08:18 AM
Hi Harish74
It was a bit quite challenging and I was able to replicate & solve the issue.
I have made the UI Action - edit (active - false) for dmn_demand table
then added the default filter in the table(sys_ui_related_list_entry) for dmn_demand as shown below
now reload the pm_program record and click the edit button in the related list of demand
Please hit the thumbs up button and mark as solution it would be helpful for me. Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 12:55 AM
I updated the filter in the "Edit..." Ui action script itself. It worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 07:17 AM
what condition you added in script can you please tell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 07:47 AM - edited 02-27-2025 07:47 AM
if(parent.active==false){
answer = true; //Hide the button
}else answer=false; // Show the button