How to override Display column on a child CI table in the data dictionary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2018 11:14 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2018 11:36 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2018 12:09 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2018 12:14 PM
Create a dictionary override on the field called serial number in the child table and check the override display value

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2018 12:15 PM
try with dictionary override