mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
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>
This commit is contained in:
@ -374,20 +374,20 @@ data "coder_parameter" "jetbrains_ide" {
|
|||||||
## Create Autofill
|
## Create Autofill
|
||||||
|
|
||||||
When the template doesn't specify default values, Coder may still 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
|
This feature enables platform teams to create pre-filled template creation links.
|
||||||
coder server --experiments=auto-fill-parameters
|
|
||||||
```
|
|
||||||
|
|
||||||
Or set the [environment variable](../../setup/index.md), `CODER_EXPERIMENTS=auto-fill-parameters`
|
- Coder can populate recently used parameter key-value pairs for the user.
|
||||||
With the feature enabled:
|
This feature helps reduce repetition when filling common parameters such as
|
||||||
|
`dotfiles_url` or `region`.
|
||||||
|
|
||||||
1. Coder will look for URL query parameters with form `param.<name>=<value>`.
|
To enable this feature, you need to set the `auto-fill-parameters` experiment flag:
|
||||||
This feature enables platform teams to create pre-filled template creation
|
|
||||||
links.
|
```shell
|
||||||
2. Coder will populate recently used parameter key-value pairs for the user.
|
coder server --experiments=auto-fill-parameters
|
||||||
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`
|
||||||
|
Reference in New Issue
Block a user