Replies: 1 comment 3 replies
-
Like for other NetBox forms you can pass URL query parameters. I‘ve added a custom link to the device detail page with a link to the script. The query parameter should be in the form |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m thinking about building a custom script that would be used to quickly add new devices. Somewhat similar to the default Add Device page, but stripped down to only the fields we use. And it would include primary IP address, MAC, power, and Ethernet cable connections.
I’m wondering if there is some way to set the default value for certain ObjectVar fields. For example, if I’m adding 20 devices at the same site/location, I’d like to pre-fill those 2 fields to the most recently used value every time the script is run from the GUI.
Beta Was this translation helpful? Give feedback.
All reactions