How to add edit button in a customized relationship?

Kannan Nair
Tera Contributor

Here is the scenario

I have added a new relationship "Parent" to relate the CI's based on the CMDB Relationship table. Only "Child" related List was available as OOB and hence the new relationship was created. In this related list New button is visible, how to add the edit button, is UI action required, if then what is the way to create a UI action only for the related list(relationship).

find_real_file.png

Below is the relationship that I have created.

find_real_file.png

1 ACCEPTED SOLUTION

Sadasiva Reddy
Giga Guru

Hi,



Here you are creating custom relationship but still result you are expecting as 'One to Many' relation ship. If you look into the condition in the   Ui action named Edit... (global table) RP.isOneToMany() is dissatisfied.so, Modify the condition accordingly so that for other related lists shouldnot be effected. or create a new UI action.


find_real_file.png



Please mark helpful/ correct if solution is resolved.


Thanks,


Sadasiva


View solution in original post

6 REPLIES 6

anurag92
Kilo Sage

You can check the Edit.. button (Global) and create a button the same way for this related list. Just check in List control, if you have omitted Edit Button.


Sadasiva Reddy
Giga Guru

Hi,



Follow the below steps.



1. Configure --> List Control



find_real_file.png


2. Click on Enable Edit.


find_real_file.png



Please mark helpful/ correct if the issue is resolved.



Thanks,


Pasala


dvp
Mega Sage
Mega Sage

As the related list is defined through relationships OOB enable button is not supported for those type of actions...


your best bet is to create a new list banner button


Alikutty A
Tera Sage

Hi Sanker,



You have created a custom relationship and this cannot be edited as the records are dynamically displayed(using script) in your related list. If you need edit a relationship(different table) within a CI then you should be creating a Many to many related list.



Create a many-to-many relationship



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response