docs: clarify that parameter autofill requires experimental flag (#17546)

Update documentation to indicate that parameter autofill requires
`--experiments=auto-fill-parameters` enabled

Fixes #14673

---------

Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
This commit is contained in:
Edward Angert
2025-04-23 13:13:08 -04:00
committed by GitHub
parent 03eeb01247
commit e6facaa41b

View File

@ -376,6 +376,15 @@ data "coder_parameter" "jetbrains_ide" {
When the template doesn't specify default values, Coder may still autofill
parameters.
You need to enable `auto-fill-parameters` first:
```shell
coder server --experiments=auto-fill-parameters
```
Or set the [environment variable](../../setup/index.md), `CODER_EXPERIMENTS=auto-fill-parameters`
With the feature enabled:
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.