From e6facaa41b8b4125c06b11e4779622b13c012327 Mon Sep 17 00:00:00 2001 From: Edward Angert Date: Wed, 23 Apr 2025 13:13:08 -0400 Subject: [PATCH] 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> --- docs/admin/templates/extending-templates/parameters.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/admin/templates/extending-templates/parameters.md b/docs/admin/templates/extending-templates/parameters.md index 5db1473cec..676b79d72c 100644 --- a/docs/admin/templates/extending-templates/parameters.md +++ b/docs/admin/templates/extending-templates/parameters.md @@ -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.=`. This feature enables platform teams to create pre-filled template creation links.