- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 09:18 AM
It has been a while since that I done this - so this is probably a dumb question - I believe there is a way to extend attributes from a Parent CI - cmdb_ci to the child CIs cmdb_ci_win_server, cmdb_ci_vcenter, etc. Specifically, I want the field "CPU Count" added to all server types. Can somebody point me to the article that tells me how to do?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 09:29 AM
Attributes present on the parent table will be available by default on all the child table that you inherit from the parent table. If you are viewing them on the form or a list layout, you might have to add the field to the layout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 09:29 AM
Attributes present on the parent table will be available by default on all the child table that you inherit from the parent table. If you are viewing them on the form or a list layout, you might have to add the field to the layout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 09:44 AM
Venkat is 100% correct. And to add, CPU Count should be available on those server tables. This is not always the case though. Let's say you want a specific attribute on two classes that are extended from different "lower" tables. You may need to go add that attribute to cmdb_ci computer, hardware, or even the base cmdb_ci table depending on the circumstances. (be careful adding to base table). Once you have added the field, all tables that inherit from the table it was added to will then have that attribute.
Regards,
Jeremy
EDIT --
CPU Count is on the cmdb_ci_computer table and another entry on the cmdb_ci_netgear table. So computer for servers, netgear for routers, firewalls etc.
To see this and how the inheritance works, go to the Dictionary and search for the column in question, *may need to add Column label to list view if you do not know the actual column name*. This will tell you where it is created. If you want to see the schema, go to any table and under Related Links Show Schema Map.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 09:59 AM
Venkat & Jeremy,
Thank you! You both answered my question and reminded me where to look! Jeremy you hit the nail on the head, the CI I was looking at I found out was extended from the cmdb_ci table not the cmdb_server_ci - that is why I could not find the field that I was looking for! Thanks for jogging my memory.
Regards,
April