- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 03:02 AM
Hi All,
I have relationships build on RITM and Custom table.
Example: Relation ship names are : "Test", "Test1" and "Test2"
I also created custom ui action "Submit" and this is visible on all three related list, but I want this to show on "Test2" related list only.
Any idea on to this?
Thanks,
Sowmya
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2018 12:53 AM
I have used below script on onload client script to hide the button on RL which is available on multiple RL.
$j('#button_id_name').hide();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2020 05:07 AM
Hi,
how you created a custom button on specific related list ?
can you please share some sample code ?
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 04:19 AM
OK ,
For custom field configure>UI Action and unchecked the list button so after than it will not show you in your related list.
Mark correct or helpful if it helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 04:36 AM
Let me put my requirement in different way,
I have problem table, where I'm listing "Open incidents", "Work in Progress Incidents" and "Closed incidents" in related lists.
On incident table, I have created list button named as "Submit".
My requirement is that I need to show this submit button only on closed incidents related list but not on other two.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 04:56 AM
You can use parent.state field in the condition
parent.state=='closed'..something like that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2018 12:53 AM
I have used below script on onload client script to hide the button on RL which is available on multiple RL.
$j('#button_id_name').hide();