-
|
Is there a way to add a custom field to display in the cable trace? We use a taping system to identify tower cables and I've built a custom field to add it to the cables, but would like it to show up here as well if possible. I haven't been able to find any way to do it, so I'm guessing my best bet would be to create a report to export the details to a CSV instead of being about to download the SVG with the information on it, but figured I'd ask just in case. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
No, it's not templated. For example, in order to get circuit descriptions added I needed to raise a feature request: #12831 Here's the code which labels a cable, in and in turn, In the absence of a hook to format the SVG labels, and without wanting to maintain your own fork of Netbox, you're probably best duplicating the logic in a plugin (or as you say, export and then render externally) |
Beta Was this translation helpful? Give feedback.

No, it's not templated. For example, in order to get circuit descriptions added I needed to raise a feature request: #12831
Here's the code which labels a cable, in
netbox/dcim/svg/cables.py: