diff --git a/docs/admin/templates/extending-templates/parameters.md b/docs/admin/templates/extending-templates/parameters.md index 676b79d72c36f..b5e6473ab6b4f 100644 --- a/docs/admin/templates/extending-templates/parameters.md +++ b/docs/admin/templates/extending-templates/parameters.md @@ -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.=`. -```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.=`. - 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`