Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Field Type: sys_class_name ??

bbarnard
Kilo Contributor

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

8 REPLIES 8

Did you find a way to do this with a script ?


martijn3
Mega Contributor

* Deactivate the unused tables in the dictionary.
* Set a before query on the sys_db_object, filtering out unused classes.
* Set a reference qualifier on the cmdb_ci.sys_class_name field.

(in a previous post I stated what does work, but since I don ´t like this approach, I ´m still looking for a solid solution)


T600
Giga Contributor

Hi @martijn

Any luck with above now since Berlin is released?


martijn3
Mega Contributor


T600


Unfortunately nothing has changed.