- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 02:47 PM
I am trying to figure out how to hide the New button on one the Related Records. See image below. I have figured out how to hide buttons in other places but cant figure out Related Records.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2024 11:34 PM
Hi @Brett Lindsey1
You can inspect the button and find the sys_id of declarative action or UI action.
Once you have found the sys_id, you can open the record using URL "/sys_metadata.do?sys_id=<sys-id>" or search sys_id in sys_declarative_action_assignment or sys_ui_action table.
You can then deactivate the record or make changes to other fields of the record(eg. condition) so that it gets hidden on SOW.
Please mark it helpful if it answers your query.
Thanks,
Aditya Kushwaha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 01:34 PM
That got me what I needed. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2024 09:44 AM
Is there a way to only remove the New button from the related list for only one module? When I did your suggestion to remove it from the Change forms related list it also removed it from the Incident forms related list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2024 09:08 PM
Hi @Brett Lindsey1 , as suggested you can either disable or "change condition" of sys_declarative_action_assignment as per your need. In your case, you can simply open the sys_declarative_action_assignment record and add condition "parentTable is not <table-name>". Please refer screenshot below.
Please mark it helpful if it answers your query.
Thanks,
Aditya Kushwaha