Saving views #10524

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

Originally created by @ymjpajak on GitHub (Nov 29, 2024).

NetBox version

v4.2.1

Feature type

New functionality

Triage priority

N/A

Proposed functionality

Creating views (something like bookmarks) which contain for instance filtered rack elevations view, ordered/sorted in such case, etc..

And also a feature enabling ordering rack elevations views in a custom way.

Use case

Reducing number of clicks while searching for a rack elevations in a specific location (in my case location is a supercomputer (cluster) and it would really simplify dispalying and ordering the rack view.

Database changes

No response

External dependencies

No response

Originally created by @ymjpajak on GitHub (Nov 29, 2024). ### NetBox version v4.2.1 ### Feature type New functionality ### Triage priority N/A ### Proposed functionality Creating views (something like bookmarks) which contain for instance filtered rack elevations view, ordered/sorted in such case, etc.. And also a feature enabling ordering rack elevations views in a custom way. ### Use case Reducing number of clicks while searching for a rack elevations in a specific location (in my case location is a supercomputer (cluster) and it would really simplify dispalying and ordering the rack view. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurestatus: revisions needed labels 2025-12-29 21:32:35 +01:00
adam closed this issue 2025-12-29 21:32:36 +01:00
Author
Owner

@ymjpajak commented on GitHub (Dec 3, 2024):

Or at least is it possible to save Elevations (view of filtered, orederd racks) as a bookmark? For now it is only possible to save a single rack as a bookmark.

@ymjpajak commented on GitHub (Dec 3, 2024): Or at least is it possible to save Elevations (view of filtered, orederd racks) as a bookmark? For now it is only possible to save a single rack as a bookmark.
Author
Owner

@bctiemann commented on GitHub (Dec 5, 2024):

@ymjpajak Filtering and ordering are captured in the list view query params already and thus can be bookmarked, e.g. http://127.0.0.1:8000/dcim/rack-elevations/?site_id=24&sort=-name

Doesn't that address what you're asking for?

@bctiemann commented on GitHub (Dec 5, 2024): @ymjpajak Filtering and ordering are captured in the list view query params already and thus can be bookmarked, e.g. `http://127.0.0.1:8000/dcim/rack-elevations/?site_id=24&sort=-name` Doesn't that address what you're asking for?
Author
Owner

@ymjpajak commented on GitHub (Dec 6, 2024):

@bctiemann This is exactly what I am asking for, I want to save example url/view like this http://127.0.0.1:8000/dcim/rack-elevations/?site_id=24&sort=-name but I cannot just paste it because there is not option to create bookmark from the form and I can only save bookmarks of a single rack (for a view of elevations there is no button 'Bookmark'). So if you know how to do it please tell me.

@ymjpajak commented on GitHub (Dec 6, 2024): @bctiemann This is exactly what I am asking for, I want to save example url/view like this `http://127.0.0.1:8000/dcim/rack-elevations/?site_id=24&sort=-name` but I cannot just paste it because there is not option to create bookmark from the form and I can only save bookmarks of a single rack (for a view of elevations there is no button 'Bookmark'). So if you know how to do it please tell me.
Author
Owner

@ymjpajak commented on GitHub (Dec 6, 2024):

And also 'Saved Filters' can theoretically save filters that contain
{ "location_id": [ "1" ], "sort": [ "facility_id" ] }
it is saved in filter formula but it is not applied to the objects when I want to display them using this filter.
So it can be bookmark, it can be filter I just want to save it and have a quick access to it withiut clicking filter by... every time.

@ymjpajak commented on GitHub (Dec 6, 2024): And also 'Saved Filters' can theoretically save filters that contain `{ "location_id": [ "1" ], "sort": [ "facility_id" ] }` it is saved in filter formula but it is not applied to the objects when I want to display them using this filter. So it can be bookmark, it can be filter I just want to save it and have a quick access to it withiut clicking filter by... every time.
Author
Owner

@bctiemann commented on GitHub (Dec 6, 2024):

Oh I see, you're talking about the internal "Bookmark" feature of NetBox, not bookmarking normally in your browser.

My understanding is that internal bookmarks can only be used for individual objects, not list views. To bookmark a list view (or any URL, including filters) you can get what you need by just using your browser's native bookmark feature and save your custom bookmarks into a folder.

We'll discuss internally the possibilities of enhancing the internal bookmarks, but I think they will always be less flexible than making arbitrary URL bookmarks in your browser.

@bctiemann commented on GitHub (Dec 6, 2024): Oh I see, you're talking about the internal "Bookmark" feature of NetBox, not bookmarking normally in your browser. My understanding is that internal bookmarks can only be used for individual objects, not list views. To bookmark a list view (or any URL, including filters) you can get what you need by just using your browser's native bookmark feature and save your custom bookmarks into a folder. We'll discuss internally the possibilities of enhancing the internal bookmarks, but I think they will always be less flexible than making arbitrary URL bookmarks in your browser.
Author
Owner

@ymjpajak commented on GitHub (Dec 9, 2024):

I found out that there is an option to save a widget on a dashboard with DCIM>Location which has a button for each location which allows for a quick access to elevations view which for the time being solves my problem.
Regarding custom ordering of the racks in elevations view, it would be really helpful functionality but from the other issue I've created I got an answer it is not planned in near future so I close this issue.

@ymjpajak commented on GitHub (Dec 9, 2024): I found out that there is an option to save a widget on a dashboard with DCIM>Location which has a button for each location which allows for a quick access to elevations view which for the time being solves my problem. Regarding custom ordering of the racks in elevations view, it would be really helpful functionality but from the other issue I've created I got an answer it is not planned in near future so I close this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10524