How to override Display column on a child CI table in the data dictionary

johannes5
Giga Expert

Hi ServiceNow Community Developers,

I have a table called u_cmdb_ci_disk_enclosure which is a child table of cmdb_ci. Currently this table has a display value of "name" (i.e. Display = true in the data dictionary) which means that every time this table is referenced the column that will be displayed is name. This table inherits this behavior from its parent table cmdb_ci. I would like to override the display column on this child table so that it uses the serial number as the display column instead of name. Would you please advise as to how do I go about doing that.

Thanks,
Johannes

5 REPLIES 5

Harsh Vardhan
Giga Patron

correct me if i am wrong. you have create a table and extend with cmdb_ci table but in cmdb_ci there is already a field "Name" that has display true but you want your custom field to treat as display true and want to highlight then in other reference field?

if yes then in your custom table field you can set the display as true  to that field and it will be show the field value in reference field 

johannes5
Giga Expert

Hi Harshvardhan,

Thanks for your response. 

Yes I created a custom table which extends the cmdb_ci table. There is a field in the parent table called "Name" that has display = true. The same field is inherited by the child table and it has Display = true in the child table too. However in the child table I would like a different field called "Serial number" to have Display = true. The "Serial number" field is also inherited from the parent table so it's not a custom field. Basically I want to override the child table use the "Serial number" field as the Display = true field. 

Thanks,

Johannes

 

Create a dictionary override on the field called serial number in the child table and check the override display value

https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/data-dictionary-t...

try with dictionary override