- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 03:18 AM
I want to create two different custom UI actions on two related lists which are having a relationship with the same table.
The issue I am getting is both the UI actions are visible on both the related lists.
I found this solution on the community ("RP.getListControl().getControlID()" and validate in script include) but it is not working for me.
Please help me with this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 05:13 AM
Hi @Sumit Singh
Try this in ui action condition
"Label name"equals(RP.getListControl().getLabel()) //modify label name with the related list label - Custom Problem
refer below link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 05:13 AM
Hi @Sumit Singh
Try this in ui action condition
"Label name"equals(RP.getListControl().getLabel()) //modify label name with the related list label - Custom Problem
refer below link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 01:40 AM
Hi @Voona Rohila
I am having doubt..
This method is perfectly working in Global scope but when I am using this in a custom application It is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 03:04 AM - edited 11-24-2022 03:08 AM
It should work for scoped app too
Refer below link
Also try using getTitle()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 02:56 PM
It worked for me in scoped applications, but I wish there was a way to use a sys_id instead of label. I wrote a script include to meet my requirements.