Allow MultiObjectVar to accept input from URL in Custom Scripts #7720
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.0.8
Feature type
New functionality
Proposed functionality
Allow a MultiObjectVar to be pre-filled using a URL. This currently works for ObjectVar. Example of ObjectVar script:
Here you can pre-fill the variable by passing
?vm=<ID>
like this https://your.netbox.install/extras/scripts/ob_var.ObjectVarTest/?vm=13.Change the variable to a MultiObjectVar and try passing multiple values (https://your.netbox.install/extras/scripts/ob_var.ObjectVarTest/?vm=13&vm=37) . It does not currently work.
Use case
Allow a user to go straight to a custom script with some data pre-filled.
Database changes
None
External dependencies
No response
The text was updated successfully, but these errors were encountered: