Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

edit button for related list

El Cuchi
Tera Guru

Hi All,

 

i was asked to create a related list in the business service form to link it to business units.

The point is to know which business unit is affected when the business service is down.

i created the relationship (without any code.

"Applies to table" cmdb_ci_service

"query from" business_unit

 

Then, i created a ui action to see the EDIT button in the related list.

The issue i am facing is that when i click on edit button, it allows me to edit the business unit record whereas, i want to be able to add or remove business units to the related list instead.

 

what is the issue?

regards,

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

There are a couple of issues here.  Without any code in the relationship, it's not a relationship nor a Related List - it's just a list of all Business Units on every Service.  You would need to add a List field to either the service table, referencing the BU table, or vice-versa to establish a relationship.  Otherwise there's nothing to edit - without a relationship you can't de-select some of the BUs from showing in the list as the list itself isn't a table.  There is an ACL to prohibit enabling the Edit button on custom Related Lists, which likely means creating your own may not be successful.