I am trying to create a dynamic link to a query that a user can click from a 3rd system.
The reason the link needs to be dynamic is I want to pass in a URL parameter in the where clause.
Can this be done? I saw this documentation but I’m not sure how to use it.
Can I change parameter values via the URL?
Yes. Each parameter appears in the URL query string preceded by
p_
. A query with id1234
and the following query text:SELECT * FROM table WHERE field = {{param}}
Would have link a like so:
https://app.redash.io/<slug>/queries/1234?p_param=100
This is useful for linking between queries and dashboards.