How to set a filter to a map embedded in canvas

Hi, Im new to canvas and i was trying to know if it's possible to set a filter values of a map based in a value that i get from the urlparam function, like this:

var_set name="var" value={urlparam param="parameter" default="not_found"}
/*set the filter here*/
| savedMap id="..."
| render

That is not possible. Maps do not use expression language.

You can, however, store a filter with your map saved object. To do this, open the map and add query, filter, and time constraints. Save the map. Now anywhere this map is loaded, those query and filter constraints will be applied.

If you are looking to display a map along with other visualizations, I would recommend using dashboard. Dashboard allows for passing filters to all panels.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.