Scripts: add dynamic pre-fill function #205

Closed
opened 2026-04-05 16:22:58 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @maxblome on 3/6/2026

NetBox version

4.5.4

Feature type

New functionality

Proposed functionality

It is currently only possible to pre-fill fields using URL parameters.

It is also already possible to use the selected object as query_params in another field.

It would be nice if data from the object could also be used in another field.

Use case

If, for example, you have a script to customise an object, you can already fill in the fields and see directly what values you are customising.
Or if you want to clone an object via script but change certain fields.

Database changes

No response

External dependencies

No response

*Originally created by @maxblome on 3/6/2026* ### NetBox version 4.5.4 ### Feature type New functionality ### Proposed functionality It is currently only possible to pre-fill fields using URL parameters. It is also already possible to use the selected object as `query_params` in another field. It would be nice if data from the object could also be used in another field. ### Use case If, for example, you have a script to customise an object, you can already fill in the fields and see directly what values you are customising. Or if you want to clone an object via script but change certain fields. ### Database changes _No response_ ### External dependencies _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#205