Related Items: Changing the default display field to another field

SeanM1
Tera Guru

Hi all, hope this is an easy one but I can't work it out. I have a defined relationship between a server and a business service, which looks like this

find_real_file.png

The value 'MMp DB2 Database' is derived from the 'name' field on the cmdb_ci table and it populates in the 'Child' field in the cmdb_rel_ci table which displays the above image.

What I want it to do is display another value from the field 'Server Name' (u_system_name) in the cmdb_ci table.

Not sure how to do it, any guidance would be appreciated.

1 ACCEPTED SOLUTION

vant
Tera Expert

You can change the display value of any table, by going to the dictionary of that table and seeing all its fields, and setting the Display to true of the field you want, and make sure everything else is false.   For example, most task table display values are the number field, so you will likely see that field Display set to true. For this CMDB table that has the Server Name field, you would set Display for that dictionary to true, and make sure the other one is turned off.   This will take affect in all places/fields where this table is referenced, so make sure you know the consequences of that before you make this change.



Capture5.JPG


View solution in original post

1 REPLY 1

vant
Tera Expert

You can change the display value of any table, by going to the dictionary of that table and seeing all its fields, and setting the Display to true of the field you want, and make sure everything else is false.   For example, most task table display values are the number field, so you will likely see that field Display set to true. For this CMDB table that has the Server Name field, you would set Display for that dictionary to true, and make sure the other one is turned off.   This will take affect in all places/fields where this table is referenced, so make sure you know the consequences of that before you make this change.



Capture5.JPG