Skip to content

Allow multiple models for object selection custom field type #18862

@Azmodeszer

Description

@Azmodeszer

NetBox version

v4.2.5

Feature type

Change to existing functionality

Proposed functionality

Currently, when selecting the custom field type Object or Multiple objects, it's only possible to choose a single model under Related object type. Are there any hurdles with simply allowing multiple?

Use case

My personal use case is a custom field for linking to a test or production instance of a VM or device. I currently have the related object model set to Virtual Machine since that covers most of them, but there are a few instances where the pendant is a Device. I'd have to create a whole new custom field for this.

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureIntroduction of new functionality to the application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions