From 59bfaf106962721db9187f87e7c47fea4e7db514 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Tue, 21 Jun 2022 09:50:06 -0400 Subject: [PATCH] Fix query parameter template variable (#50023) (#51174) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As documented under [Advanced variable format options – Query parameters](https://grafana.com/docs/grafana/latest/variables/advanced-variable-format-options/#query-parameters), the option is `queryparam`, not `queryparams`. I have verified in Grafana 8.5.3 that the former works while the latter doesn't. (cherry picked from commit 1b091454ec3c8351d3d32c8f2ab23fee25384539) Co-authored-by: kiwi-oss <71145773+kiwi-oss@users.noreply.github.com> --- docs/sources/linking/data-link-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/linking/data-link-variables.md b/docs/sources/linking/data-link-variables.md index a2f2cd07299..76faf455886 100644 --- a/docs/sources/linking/data-link-variables.md +++ b/docs/sources/linking/data-link-variables.md @@ -57,6 +57,6 @@ Value-specific variables are available under `__value` namespace: When linking to another dashboard that uses template variables, select variable values for whoever clicks the link. -`${myvar:queryparams}` - where `myvar` is a name of the template variable that matches one in the current dashboard that you want to use. +`${myvar:queryparam}` - where `myvar` is a name of the template variable that matches one in the current dashboard that you want to use. If you want to add all of the current dashboard's variables to the URL, then use `__all_variables`.