Allow injection of form fields by plugins into standard models (and allow corresponding plugins to parse data on save) #14732
Labels
complexity: high
Expected to require a large amont of time and effort to implement relative to other tasks
netbox
status: backlog
Awaiting selection for work
type: feature
Introduction of new functionality to the application
NetBox version
v3.7.0
Feature type
New functionality
Proposed functionality
Add a method to:
Use case
This would allow for extending of "core" models by plugins while not actually modifying the core model
As an example, lets say you want to the Interface model to collect more data regarding the layer 2 information (example, port security, spanning tree, etc). You would define the form and model in your plugin and tell it which form (or model) to hook into, it would then display the extra field in the corresponding model create/edit form. When saved, the form would validate both the parent form and the "sub-form" before saving.
Database changes
None required
External dependencies
None
The text was updated successfully, but these errors were encountered: