Add ability to hide fields from web UI #4550

Closed
opened 2025-12-29 18:37:25 +01:00 by adam · 5 comments
Owner

Originally created by @AnythingOverIP on GitHub (Feb 9, 2021).

Environment

  • Python version: 3.8.5
  • NetBox version: 2.10.2

Proposed Functionality

Using the config file or any other means, provide a way to hide non-required fields to the end-user when not used by the business in order to simplify the user interface. This would result in a lighter interface and less prone to user error

Use Case

Some businesses don't use all default fields. Regarding the Sites, in our case, Site Shipping is always empty, so is "AS Number" might always be the physical address. In other cases, some users might not want to track the asset tag of a device or serial number.

Database Changes

I don't believe databases changes are necessary. I'm proposing to hide fields, not remove them.

External Dependencies

n/a

Originally created by @AnythingOverIP on GitHub (Feb 9, 2021). ### Environment * Python version: 3.8.5 * NetBox version: 2.10.2 ### Proposed Functionality Using the config file or any other means, provide a way to hide non-required fields to the end-user when not used by the business in order to simplify the user interface. This would result in a lighter interface and less prone to user error ### Use Case Some businesses don't use all default fields. Regarding the Sites, in our case, Site Shipping is always empty, so is "AS Number" might always be the physical address. In other cases, some users might not want to track the asset tag of a device or serial number. ### Database Changes I don't believe databases changes are necessary. I'm proposing to hide fields, not remove them. ### External Dependencies n/a
adam closed this issue 2025-12-29 18:37:25 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 9, 2021):

This degree of customizability simply isn't a design goal for NetBox. There's no reason to spend precious development effort on something with such a minimal return on investment.

@jeremystretch commented on GitHub (Feb 9, 2021): This degree of customizability simply isn't a design goal for NetBox. There's no reason to spend precious development effort on something with such a minimal return on investment.
Author
Owner

@ziggekatten commented on GitHub (Feb 10, 2021):

Custom Scripts solve this very nicely!

@ziggekatten commented on GitHub (Feb 10, 2021): Custom Scripts solve this very nicely!
Author
Owner

@ypid-geberit commented on GitHub (Feb 11, 2021):

@ziggekatten Can you expand on that? I would be interested to know the details.

@ypid-geberit commented on GitHub (Feb 11, 2021): @ziggekatten Can you expand on that? I would be interested to know the details.
Author
Owner

@AnythingOverIP commented on GitHub (Mar 25, 2021):

@ziggekatten Do you mean a script to modify pages? could you explain how you would achieve this?

@AnythingOverIP commented on GitHub (Mar 25, 2021): @ziggekatten Do you mean a script to modify pages? could you explain how you would achieve this?
Author
Owner

@ziggekatten commented on GitHub (Mar 25, 2021):

We use custom script to create forms with only needed fields for users to put data into. Static info are populated by the script if needed.

@ziggekatten commented on GitHub (Mar 25, 2021): We use custom script to create forms with only needed fields for users to put data into. Static info are populated by the script if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4550