Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: clarify parameter autofill documentation #17728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions docs/admin/templates/extending-templates/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,20 +374,20 @@ data "coder_parameter" "jetbrains_ide" {
## Create Autofill

When the template doesn't specify default values, Coder may still autofill
parameters.
parameters in one of two ways:

You need to enable `auto-fill-parameters` first:
- Coder will look for URL query parameters with form `param.<name>=<value>`.

```shell
coder server --experiments=auto-fill-parameters
```
This feature enables platform teams to create pre-filled template creation links.

- Coder can populate recently used parameter key-value pairs for the user.
This feature helps reduce repetition when filling common parameters such as
`dotfiles_url` or `region`.

To enable this feature, you need to set the `auto-fill-parameters` experiment flag:

Or set the [environment variable](../../setup/index.md), `CODER_EXPERIMENTS=auto-fill-parameters`
With the feature enabled:
```shell
coder server --experiments=auto-fill-parameters
```

1. Coder will look for URL query parameters with form `param.<name>=<value>`.
This feature enables platform teams to create pre-filled template creation
links.
2. Coder will populate recently used parameter key-value pairs for the user.
This feature helps reduce repetition when filling common parameters such as
`dotfiles_url` or `region`.
Or set the [environment variable](../../setup/index.md), `CODER_EXPERIMENTS=auto-fill-parameters`
Loading