Allow Custom Links with the same name for different ContentType #6059

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

Originally created by @PieterL75 on GitHub (Feb 7, 2022).

NetBox version

v3.1.6

Feature type

Change to existing functionality

Proposed functionality

A Custom Link requires the name of the link to be unique.
A CustomLink can only be linked to one ContentType (Device/VM/...)

This means that if you want to provide the same Custom Link to different content types, that the name has to be different.

I would like to be able to create custom links with the same name for different content types
Or allow one CustomLink to select multiple ContentTypes

Use case

When creating a customlink to a vCenter, I have to create several instances of the same button. One for a VM, one for a Device and one for a Cluster.
In the current implementation, I have to name the button for each different, which can cause confusion.

Database changes

Change to the unique_key of a custom link
or change of the contenttype to a many-many relation in stead of a one-one

External dependencies

None

Originally created by @PieterL75 on GitHub (Feb 7, 2022). ### NetBox version v3.1.6 ### Feature type Change to existing functionality ### Proposed functionality A Custom Link requires the name of the link to be unique. A CustomLink can only be linked to one ContentType (Device/VM/...) This means that if you want to provide the same Custom Link to different content types, that the name has to be different. I would like to be able to create custom links with the same name for different content types Or allow one CustomLink to select multiple ContentTypes ### Use case When creating a customlink to a vCenter, I have to create several instances of the same button. One for a VM, one for a Device and one for a Cluster. In the current implementation, I have to name the button for each different, which can cause confusion. ### Database changes Change to the unique_key of a custom link or change of the contenttype to a many-many relation in stead of a one-one ### External dependencies None
adam added the type: feature label 2025-12-29 19:36:12 +01:00
adam closed this issue 2025-12-29 19:36:12 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 7, 2022):

This use case seems like it would be addressed by #8274, no?

@jeremystretch commented on GitHub (Feb 7, 2022): This use case seems like it would be addressed by #8274, no?
Author
Owner

@PieterL75 commented on GitHub (Feb 7, 2022):

Totally ! This one can be closed then.
Sorry for the double FR

Pieter

@PieterL75 commented on GitHub (Feb 7, 2022): Totally ! This one can be closed then. Sorry for the double FR Pieter
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6059