Allow Custom Links to be enabled/disabled #5911

Closed
opened 2025-12-29 19:34:09 +01:00 by adam · 1 comment
Owner

Originally created by @rodvand on GitHub (Jan 9, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.5

Feature type

Data model extension

Proposed functionality

Add the option to disable a custom link.

Use case

When utilising various plugins in NetBox we sometimes use URLs to access the plugin data. Plugins aren't always updated to support the latest and greatest NetBox version straight away so we disable the plugin for upgrades (we must be on the latest NetBox, of course!). To avoid user confusion I remove the custom links referencing the plugin. And when the plugin author updates the plugin I add the custom link back to NetBox. Having an enabled toggle on the custom link would save me some work.

Database changes

Have to add a field to the CustomLink model. Something like this I suspect:

enabled = models.BooleanField(
        default=True
    )

External dependencies

No response

Originally created by @rodvand on GitHub (Jan 9, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.5 ### Feature type Data model extension ### Proposed functionality Add the option to disable a custom link. ### Use case When utilising various plugins in NetBox we sometimes use URLs to access the plugin data. Plugins aren't always updated to support the latest and greatest NetBox version straight away so we disable the plugin for upgrades (we must be on the latest NetBox, of course!). To avoid user confusion I remove the custom links referencing the plugin. And when the plugin author updates the plugin I add the custom link back to NetBox. Having an enabled toggle on the custom link would save me some work. ### Database changes Have to add a field to the CustomLink model. Something like this I suspect: ``` enabled = models.BooleanField( default=True ) ``` ### External dependencies _No response_
adam added the status: acceptedtype: feature labels 2025-12-29 19:34:09 +01:00
adam closed this issue 2025-12-29 19:34:09 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 10, 2022):

Probably something we should have implemented originally, the same way we allow enabling and disabling webhooks. I'm going to tag this for v3.2 as it's very easy to implement (but will effect an API change).

@jeremystretch commented on GitHub (Jan 10, 2022): Probably something we should have implemented originally, the same way we allow enabling and disabling webhooks. I'm going to tag this for v3.2 as it's very easy to implement (but will effect an API change).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5911