Custom fields with triggers

81 views
Skip to first unread message

albert albert

unread,
Jan 14, 2022, 5:20:37 AM1/14/22
to NetBox
Hello all,

Is it possible somehow to create custom fields which would be displayed only on some conditions (for examples, in Circuits, if I select a specific provider, the custom field would appear. Otherwise, it would stay hidden)?

If it's not possible, is there a way to create another category  for a site, other than the ones already present (Rack, Devices, Prefixes, VLANs, Circuits, Virtual Machines)?

I didn't find anything about that on the documentation.

Thanks.

Brian Candler

unread,
Jan 14, 2022, 8:24:27 AM1/14/22
to NetBox
On Friday, 14 January 2022 at 10:20:37 UTC lywk...@gmail.com wrote: 
Is it possible somehow to create custom fields which would be displayed only on some conditions (for examples, in Circuits, if I select a specific provider, the custom field would appear. Otherwise, it would stay hidden)?

No.  Custom fields are always displayed.
 
If it's not possible, is there a way to create another category  for a site, other than the ones already present (Rack, Devices, Prefixes, VLANs, Circuits, Virtual Machines)?

You mean, another kind of object, which is linked to Site?  You can write a Plugin for your new object type.
Reply all
Reply to author
Forward
0 new messages