Dashboards - Use context variable in device tag query


I have a map on a dashboard that I want to have show a subset of my devices based on a device tag, let’s say it’s vehicleType with 2 possible values “car” or “truck”.

I also have a dashboard context string variable called {{ctx.string-0}}.

Under the map settings -> Block Data -> Device IDs / Tags dropdown, I can explicitly select vehicleType=car or vehicleType=truck, but I’d like to be able to specify something like vehicleType={{ctx.string-0}} so that I can change the subset of vehicles shown without having to leave the dashboard and change the map settings. Is there a way to do this?


Device list filtering in experience view
Display a list of devices based on experience user group

There is currently not a way to do this, but that’s an awesome idea. We are seeing a lot of interest in using tags as context variables, so it’s something we’ll be prioritizing as a near-term feature.