problem adding attribute to cmdb_ci

Giri6
Tera Expert

Using the class hierarchy manager, I created yes/no field for the base configuration item (cmdb_ci). I have the following questions.

1. In the list view I added the newly created column, but it is not showing
2. in the update set it is saving newly created attribute as form layout. It should be on the table as new field right?

Appreciate any help.

 

find_real_file.png

4 REPLIES 4

Tony Chatfield1
Kilo Patron

Hi, a new field added to the list layout will not show in your user list view if you have 'Personalized' the field list\layout, and you will need to select 'Reset to column defaults' from the list field picker (gear icon) popup.

The new field will default to the cmdb_ci form layout (at the bottom of the form)

/nav_to.do?uri=%2Fcmdb_ci.do%3Fsys_id%3D-1

But I think you would need to add the field manually to form views for all tables that extend cmdb_ci,
which is effectively the form view for every CI table\class that you use.

 

Sagar Pagar
Tera Patron

Hi,

1) As Tony said, I think you have personalized the list view for table. Hence, you need to "Reset to columns Default",. After that it will reflect in list layout.

2) If you added new field on Form it will show 1 record for Form layout.

For table, in update set there will be dictionary record.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Giri6
Tera Expert

Thanks for the replies. I added like this using 'insert low'. What is right way to add new attribute to the cmdb_ci table

 

find_real_file.png

Hi -

 

My experience with adding fields at cmdb_ci with Class Manager is that it did not show up in my update set as a sys_dictionary entry. It’s only when I updated one of the dictionary attributes from the Dictionary Form (e.g., make it read-only) that the entry got added to the update set. I found this very confusing.

 

Hope it helps and if anyone has a different experience or knows a better way, please shout!