Add/remove related list a view with a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi everyone
I have created a related list based on a relationship and now I need to add it to all sub classes of cmdb_ci. Is it possible to add/remove a related list with a script instead of doing it manually for every view in a class.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @Victor Monteale ,
Related lists are stored per table and per view and are not automatically inherited by CMDB subclasses. While it is technically possible to script updates to sys_ui_related_list tables, this is unsupported and risky. The recommended approach is to add the related list to the cmdb_ci base table (Default view) so subclasses inherit it, or manage views consistently.
