Be able to group Custom Fields #6024

Closed
opened 2025-12-29 19:35:49 +01:00 by adam · 6 comments
Owner

Originally created by @hagbarddenstore on GitHub (Jan 29, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.6

Feature type

New functionality

Proposed functionality

Add a label/group field to a custom field and render a box with all the grouped fields within that box.

The template which renders the custom fields should group all fields with a group set and render a new box with the fields in.

Screenshot 2022-01-29 at 20 07 25

Use case

To help the user find the information they are looking for.

It makes it easier to sift through lots of fields if they are grouped, because then you only need to focus on finding the right group before diving into each field.

Database changes

Add a group or label field to the custom field model.

External dependencies

No response

Originally created by @hagbarddenstore on GitHub (Jan 29, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.6 ### Feature type New functionality ### Proposed functionality Add a label/group field to a custom field and render a box with all the grouped fields within that box. The template which renders the custom fields should group all fields with a group set and render a new box with the fields in. <img width="811" alt="Screenshot 2022-01-29 at 20 07 25" src="https://user-images.githubusercontent.com/1156831/151674214-8bc30463-9155-46b2-a39c-887781a63304.png"> ### Use case To help the user find the information they are looking for. It makes it easier to sift through lots of fields if they are grouped, because then you only need to focus on finding the right group before diving into each field. ### Database changes Add a group or label field to the custom field model. ### External dependencies _No response_
adam added the status: acceptedtype: feature labels 2025-12-29 19:35:49 +01:00
adam closed this issue 2025-12-29 19:35:49 +01:00
Author
Owner

@hagbarddenstore commented on GitHub (Jan 29, 2022):

Issue #4499 suggests the same thing, but was closed with a reference to the FAQ. I can't find the relevant information in the FAQ anymore.

@hagbarddenstore commented on GitHub (Jan 29, 2022): Issue #4499 suggests the same thing, but was closed with a reference to the FAQ. I can't find the relevant information in the FAQ anymore.
Author
Owner

@snowie-swe commented on GitHub (Jan 29, 2022):

Suggesting to add some sort of "custom section" that the custom fields are added in to.
This would allow for greater customization and decrease the number of request of changes to netbox core modules.

@snowie-swe commented on GitHub (Jan 29, 2022): Suggesting to add some sort of "custom section" that the custom fields are added in to. This would allow for greater customization and decrease the number of request of changes to netbox core modules.
Author
Owner

@jeremystretch commented on GitHub (Feb 1, 2022):

Is the proposal here to mimic the group_name on CustomLink, which is just an (optional) text field? I think that'd be reasonable.

@jeremystretch commented on GitHub (Feb 1, 2022): Is the proposal here to mimic the `group_name` on CustomLink, which is just an (optional) text field? I think that'd be reasonable.
Author
Owner

@hagbarddenstore commented on GitHub (Feb 2, 2022):

Yes that would be sufficient on the model side.

On 1 Feb 2022, at 22:25, Jeremy Stretch @.***> wrote:


Is the proposal here to mimic the group_name on CustomLink, which is just an (optional) text field? I think that'd be reasonable.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.

@hagbarddenstore commented on GitHub (Feb 2, 2022): Yes that would be sufficient on the model side. > On 1 Feb 2022, at 22:25, Jeremy Stretch ***@***.***> wrote: > >  > Is the proposal here to mimic the group_name on CustomLink, which is just an (optional) text field? I think that'd be reasonable. > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > Triage notifications on the go with GitHub Mobile for iOS or Android. > You are receiving this because you authored the thread.
Author
Owner

@jeremystretch commented on GitHub (Apr 15, 2022):

This FR was the focus of today's live coding session! The recording is available here for anyone interested.

@jeremystretch commented on GitHub (Apr 15, 2022): This FR was the focus of today's live coding session! The recording is available [here](https://youtu.be/VQCg6bHqF54) for anyone interested.
Author
Owner

@jeremystretch commented on GitHub (Apr 15, 2022):

I ended up just splitting the groups into different tables within the same panels, to avoid user confusion over what is and is not a custom field.

@jeremystretch commented on GitHub (Apr 15, 2022): I ended up just splitting the groups into different tables within the same panels, to avoid user confusion over what is and is not a custom field.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6024