Allow ObjectChildrenView to be used by plugins #6330

Closed
opened 2025-12-29 19:39:29 +01:00 by adam · 2 comments
Owner

Originally created by @hagbarddenstore on GitHub (Apr 9, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.2.0

Feature type

Change to existing functionality

Proposed functionality

Officially allow plugins to use the ObjectChildrenView class.

Decide that it's ok to be used and document how to use it in the plugin development documentation.

Use case

To be able to create models in plugins that have child models (Interfaces to a Firewall, Routes for a Router, etc.) and make them look and feel like any other child models do in "native" NetBox.

Reduces the amount of code that needs to be written for something that "native" NetBox already solves.

Database changes

None

External dependencies

None

Originally created by @hagbarddenstore on GitHub (Apr 9, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.2.0 ### Feature type Change to existing functionality ### Proposed functionality Officially allow plugins to use the ObjectChildrenView class. Decide that it's ok to be used and document how to use it in the plugin development documentation. ### Use case To be able to create models in plugins that have child models (Interfaces to a Firewall, Routes for a Router, etc.) and make them look and feel like any other child models do in "native" NetBox. Reduces the amount of code that needs to be written for something that "native" NetBox already solves. ### Database changes None ### External dependencies None
adam added the status: acceptedtype: featuretopic: plugins labels 2025-12-29 19:39:29 +01:00
adam closed this issue 2025-12-29 19:39:29 +01:00
Author
Owner

@maximumG commented on GitHub (Apr 20, 2022):

I must admit that I already used this ObjectChildrenView class even if not part of the official plugin API. I can take care of the documentation if you planned to make it public.

@maximumG commented on GitHub (Apr 20, 2022): I must admit that I already used this `ObjectChildrenView ` class even if not part of the official plugin API. I can take care of the documentation if you planned to make it public.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 20, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Jun 20, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6330