- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 01:20 PM
We are on Kingston version.
I want to hide the new and Edit button from Problem form under the incident related list
I configured the list control with the below script.
The EDIT button is invisible but not the NEW button.
I want to add some condition. If the problem ticket is inactive then hide the buttons.
The problem is it is not working even without condition.
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 02:56 PM
In order for the "Omit new condition" script to work, you need to change the condition on the "New" UI Action on the Incident table. There are a number of "New" UI Actions on the Incident table that override the global one. The one you want to edit should be this one:
It is a "List banner button" UI Action with the following "Condition":
current.canCreate() && !RP.getListControl().isOmitNewButtonWithoutChecks() && RP.isRelatedList() && !RP.isManyToMany()
Change "isOmitNewButtonWithoutChecks" to "isOmitNewButton" so that it checks the condition script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 02:56 PM
In order for the "Omit new condition" script to work, you need to change the condition on the "New" UI Action on the Incident table. There are a number of "New" UI Actions on the Incident table that override the global one. The one you want to edit should be this one:
It is a "List banner button" UI Action with the following "Condition":
current.canCreate() && !RP.getListControl().isOmitNewButtonWithoutChecks() && RP.isRelatedList() && !RP.isManyToMany()
Change "isOmitNewButtonWithoutChecks" to "isOmitNewButton" so that it checks the condition script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 06:51 AM
Thanks for the response.
This UI action is already disabled in our environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 07:40 AM
Can you add some screenshots of the UI Action that is being displayed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 06:39 AM
Did you find a solution for this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 06:57 AM
Hi,
Check this link. Maybe you will find some interesting information.
Managing the New and Edit buttons on related lists
Please mark reply as Helpful/Correct, if applicable. Thanks!