Skip to content

Commit 5c53277

Browse files
authored
docs: clarify parameter autofill documentation (#17728)
closes #17706 Clarify that: 1. URL query parameters work without experiment flag 2. The 'populate recently used parameters' feature still requires the auto-fill-parameters experiment flag Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
1 parent 3ee95f1 commit 5c53277

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/admin/templates/extending-templates/parameters.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -374,20 +374,20 @@ data "coder_parameter" "jetbrains_ide" {
374374
## Create Autofill
375375
376376
When the template doesn't specify default values, Coder may still autofill
377-
parameters.
377+
parameters in one of two ways:
378378
379-
You need to enable `auto-fill-parameters` first:
379+
- Coder will look for URL query parameters with form `param.<name>=<value>`.
380380
381-
```shell
382-
coder server --experiments=auto-fill-parameters
383-
```
381+
This feature enables platform teams to create pre-filled template creation links.
382+
383+
- Coder can populate recently used parameter key-value pairs for the user.
384+
This feature helps reduce repetition when filling common parameters such as
385+
`dotfiles_url` or `region`.
386+
387+
To enable this feature, you need to set the `auto-fill-parameters` experiment flag:
384388
385-
Or set the [environment variable](../../setup/index.md), `CODER_EXPERIMENTS=auto-fill-parameters`
386-
With the feature enabled:
389+
```shell
390+
coder server --experiments=auto-fill-parameters
391+
```
387392
388-
1. Coder will look for URL query parameters with form `param.<name>=<value>`.
389-
This feature enables platform teams to create pre-filled template creation
390-
links.
391-
2. Coder will populate recently used parameter key-value pairs for the user.
392-
This feature helps reduce repetition when filling common parameters such as
393-
`dotfiles_url` or `region`.
393+
Or set the [environment variable](../../setup/index.md), `CODER_EXPERIMENTS=auto-fill-parameters`

0 commit comments

Comments
 (0)