- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I need a related list on Incident form. It should only list emails that the subject starts with P2 for that incident. if now emails we dont want the list to show at all
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
After you add the related list, right click on the list header & select Configure > List control.
To hide the related list when it is empty, set 'Omit if empty' to true.
To only show emails that have a subject starting with P2, you can add the filter to the related list then click 'Set as Default Filter.' You may need/prefer to create a new sys_relationship though if you specifically want to include only emails that have a subject starting with P2 instead of just filtering down to show those by default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Gary Larsen,
to add related list, do it from context menu > configure > related tabs:
to hide it, I am not entirely sure, but you can try with onLoad client script and with desired conditions:
g_form.hideRelatedList('name of the list');
Eventually get inspiration from How to hide the Related List based on the field value of the form or How to hide defined related list using script?
Let me know how it's going.
100 % GlideFather experience and 0 % generative AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
After you add the related list, right click on the list header & select Configure > List control.
To hide the related list when it is empty, set 'Omit if empty' to true.
To only show emails that have a subject starting with P2, you can add the filter to the related list then click 'Set as Default Filter.' You may need/prefer to create a new sys_relationship though if you specifically want to include only emails that have a subject starting with P2 instead of just filtering down to show those by default.
