-
|
After using a custom script found at: https://github.com/netbox-community/customizations/blob/master/scripts/add_device_type_components.py I noticed that even thought the components are added, the tab does not show up. It's only reachable via the URL: dcim/devices/12522/power-outlets/ but they do exist. I don't believe this a fault with the script but I could be wrong. Any idea why the webpage is not rendering this element? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Netbox version? There is a problem with demo.netbox.dev that the cached counts of components on a device are not being set when the sample data is imported - and if the cached count is zero, no tab is shown. For example, https://demo.netbox.dev/dcim/devices/88/front-ports/ shows frontports but https://demo.netbox.dev/dcim/devices/88/ has no "front ports" tab. I don't think anyone got to the bottom of this, but it's possible that custom scripts are affected by the same issue. Try EDIT: that script calls
And it looks like |
Beta Was this translation helpful? Give feedback.

Try this fix: netbox-community/customizations#101