Skip to content

custom links for interfaces in device view #6679

Answered by candlerb
jcralbino asked this question in Q&A
Discussion options

You must be logged in to vote

A custom link only generates one button, and it can only have one URL target.

However, you could create a custom link on DCIM > interface instead of on DCIM > device. Starting at https://netboxhost/dcim/devices/201/interfaces/, the user could filter this down to LAGs(*), click on the interface of interest which would take them to (say) https://netboxhost/dcim/interfaces/1234/, and the custom link button would be there.

(*) In v2.11.7, filtering the list of interfaces is only provided by name, not by type or other attributes. However if the interfaces have names like "lag 1", "lag 2" etc then typing "lag" in the filter box will work.


The error occurs during your 'link text' expansion:

Lin…

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
5 replies
@jcralbino
Comment options

@candlerb
Comment options

@jcralbino
Comment options

@jcralbino
Comment options

@jcralbino
Comment options

Answer selected by jcralbino
Comment options

You must be logged in to vote
3 replies
@jcralbino
Comment options

@candlerb
Comment options

@jcralbino
Comment options

Comment options

You must be logged in to vote
2 replies
@jcralbino
Comment options

@candlerb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants