Edit button on a Related List - Defined/Custom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 07:11 AM
Hello All,
I have the following requirement :
1. Create a related list/relationship Name "Approvers" on Business Service table. It has to be similar to User Relationship (cmdb_rel_person) with CI with Edit button
2. I created a custom table with 2 fields. Name of the table "u_approvers"
- CI - Reference to "cmdb_ci " table
- User - Reference to "User" table
3. Now I need help with creating a Related list on Business Service table as Approver being child(similar to User rel for example).
How to achieve the same including the Edit button
TIA
@Manmohan K @Ankur Bawiskar @Mark Roethof @Ratnakar7 @Daniel Pettet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 07:38 AM
So what did you start with?
share screenshots.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 08:47 AM - edited 06-07-2023 09:58 AM
Thanks for the reply.
I have this custom table with 3 fields
I have 2 fields referencing CI is that a problem? Why there is no show of Auth Approver > User while I try to configure the related list
As we have reference fields on the custom table there is a way related list can be configured right?
But I only find Authorized Approver -> CI and not Authorized Approver -> User
And, there is no Edit button on the related list.
I need the related list to look and work like User relationship as below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 09:32 AM - edited 06-07-2023 09:50 AM
HI ankur, I was able to bring the edit button .
I did the following
1. I tried to Enable the "Reference floats" to true on User reference field of the custom table (Auth Approver)
Edit button did not appear
2. I tried to enable "Reference floats" to true on CI reference field edit button appeared however I think it should be Auth Approver > User and not CI. The edit button is not working either.
Please suggest.
As mentioned it should be similar to User relationship where it pulls up User data
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2025 02:53 AM
for defined relationship it doesn't show Edit button and is known behavior.
Since defined relationship has custom query so system won't know what/which relationship you are editing.
That's the reason even if you try to Configure List Control and see the Omit Edit button is greyed out.
This KB mentions the same
The New or Edit button does not appear on a one-to-many related list
URL - https://instanceName.service-now.com/nav_to.do?uri=sys_security_acl.do?sys_id=c824e55473212300cf4794ebc4f6a733
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader