Field Type: sys_class_name ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2011 10:37 AM
How are the drop-down choices for Class field on cmdb_ci records populated? From the dictionary I see that the field type is 'sys_class_name' which I have used in scripts before to get the table that the record exists in. In the drop-down's I see other tables that extend cmdb_ci listed, and if I create a new table that extends cmdb_ci it is listed there as well.
Thanks,
Bryan
- Labels:
-
Enterprise Asset Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2011 10:48 AM
It's done on the back end in Java. A sys_class_name field will display existing classes in a "composite" (a set of tables that all extend from one base table, like cmdb_ci or task).
Are you looking to accomplish something specific?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2011 07:17 AM
thanks for the explanation! I don't have a use for it yet, but wanted to better understand how it worked and if I could use it in another table at some point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2012 06:12 AM
It would be nice to be able to limit the list of classes that you see in a lookup. Out of the box you get a huge amount of CI Classes that you will probably never use. The only options that I have seen so far are:
* Delete the CI table for the class that you don't want to see (just marking the collection as inactive doesn't do the trick unfortunately).
* Delete the appropriate record from the sys_db_object table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2012 07:20 AM
You can de-activate the dictionary entry for a given table. That's probably the best solution.