Dashboards - Use context variable in device tag query

#1

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?

0 Likes

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

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.

0 Likes