Copy a link to a prefilled script form

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
web-dev

Research direction

No file, test, or entry point is named. Start by locating the current Script run form and its handling of form values and URLs; define the inclusion, encoding, exclusion, unavailable-object, and oversized-URL behavior before implementation. Done means a Copy link action prefills the form without running or scheduling it, while secrets and execution controls remain excluded.

Written by the indexing model from the issue text.

Description

app: scripts complexity: medium status: backlog type: feature
Plugin Version

v0.0.1

Proposed functionality

Add a Copy link action that turns suitable values in the current run form into a reusable URL. Opening it should prefill the form, never run or schedule the Script.

Define an explicit inclusion and encoding policy, including multi-select values. Exclude secrets, uploaded file contents, and execution controls; not every text field is safe to share. Explain that URLs may appear in browser history, logs, and messages.

Do not rewrite the URL continuously while someone types. Handle unavailable objects and oversized URLs clearly. Saved server-side presets remain separate work.

Use case

Teams could share a prepared form or add it to a runbook without building query strings by hand. The recipient would still review the inputs and decide whether to run the Script.

Related request: netbox-community/netbox#16250.

External dependencies

No new package or service is expected.

Dominant language
Python
Stars
8
Forks
0
Avg merge
9h 56m
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from netbox-community/netbox-scripts

All issues in netbox-community/netbox-scripts

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.