From f77a8587e6433b620893f3fb5f6e2ff7223d4ecc Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Thu, 8 May 2025 14:23:17 -0400 Subject: [PATCH] param-name-value out of experiment --- .../extending-templates/parameters.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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`