Related list condition not working (hide "ADD" button)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2024 11:44 AM
Hi,
The UI Action called "Add" has the following condition:
RP.isRelatedList() && current.canCreate() && parent.active == true && (gs.getProperty('com.snc.task.add_change_request').split(',').indexOf(parent.getTableName()) > -1) && !RP.getListControl().label .equals('Related Changes')
The problem is that the "Add" button is also visible in the "related Changes" list too.
How can I hide the "Add" button?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2024 01:38 PM
I suggest you remove the conditions, and add 'alert();' lines showing the value of each condition within the script.