How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 12:50 PM
Hello Community,
I am trying to filter out the Configuration Items (CIs) with empty names in both 'Edit' Slush bucket and 'Add' button sys popup window of 'Affected CIs' related list. I am able to use the 'Default filter' from the List control of the 'Affected CIs' related list header, but I am trying to find ways to apply the same filter to the 'Add' button sys popup window under 'Affected CIs' related list.
Any thoughts?
I tried to add Default filter on the 'Add' button's sys popup of list hearer, but I couldn't add the 'Edit default filter' field to the form on this List control.
Thanks,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 01:17 PM
Go to System UI --> Related Lists
Search for table "incident"
Select one of the entries (i.e. default view)
There you will see the related list task_ci.task (You can also get to it by going to the table: sys_ui_related_list_entry and finding this list id instead.)
You can update the filter there and it will apply to your related list.
OR you can create your own related list entry with the filter (keeping things out-of-the-box) and put that on your incident form or other forms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 03:28 PM
Hi Stacey,
I tried this, but it didn't work for me. Have you been able to see this filter taking affect in the 'Add' button sys popup ?
Thanks,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 04:21 PM
I also found out that, making update to a Related List (say 'task_ci.task') for the filter will impact all the forms that uses the related lists in context. Do you guys think of any other idea to address this problem ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 04:51 AM
You can create your own related list as I said instead of updating the out-of-box version. Just insert a new related list into that table and pull it up on your form. That way you're only impacting the view/form you wish to.
You're right, it only filters the list of items shown and doesn't provide the filter to the edit button on the list. I'm not sure it will be easy to do what you want to do. Maybe someone else would like to spend time trying to figure it out or script it. Slush bucket lists are a pain to work with.
You could look at modifying the edit button (type "ui actions" in the left menu and find the "Edit..." button for the many to many.) I just think it isn't worth going to that level.