Take a look at this dashboard, which displays data from a series of “weather stations” (set up similar to how you’ll find in our walkthrough.
The part you care about is the map and list of stations in the left column, which are a GPS History and Device List block respectively. In each of those cases, when we are querying for the data to display in the block, we are also returned the device name that corresponds to each ID.
Given that the dashboard has context variables “devId” and “devName”, we can then build links to other context states within the rendering config of each block. For the GPS History block, I’ve set my popup template to be:
##### **{{deviceName}}**
[View Device]({{dashboardUrl ctx=(obj devId=deviceId devName=deviceName)}})
{{latitude}},{{longitude}}
And for the Device List, I’m configuring a custom URL for where the device name should link, and setting it to:
{{dashboardUrl ctx=(obj devId=deviceId devName=deviceName) }}
Please let me know if you need any further clarification!