Showing scopped application related list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 10:53 AM
Hi,
So In EDM scopped application, i have a catalog item called "TP" and it has a request type field which has create_tp, modify_tp, terminate_tp. so when submit the form with request type as terminate_tp, then a related tab called EDM Request should show up only for this catalog item that has request type as terminate_tp. have already added the edm request tab but its showing for all and global catalogs as well? how to make this change?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 11:19 AM
Could you attach some screenshots please?
Cannot follow what needs to be done and where...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 01:56 AM
Here we need to show this edm related list only for TP catalog item when request type is terminate TP. so if i add in related lists, its showing for all ritm related lists.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 08:01 AM
Ah ok...
So create an OnLoad Client script on the RITM table for this.
Use a GlideAjax block to get the item details, and then use the hideRelatedList function
Its tricky to find the name of your related list. Press F12, go to console and type g_form.getRelatedListNames() and hit enter. You should be able to guess from the result the name of your related list.
In your client script, you will then use :
g_form.hideRelatedList('<<your related list name>>');