Hi everybody !
I have a map with points, with values : long, lat and the name of the city 🙂
When the user click of a point i open a dashboard with the name of the city ($click.name2$) clicked
But for the all points the value of click.name 2 are the same 😕 whereas when I fly over the dots, the names are quite different.
I try everything with $click.name$, $click.name2$, or $click.value$, $click.value2$,
I do this :
<link target="_blank">/app/dashboard_?name=$click.name2$</link>
With this query for the map :
.
.
.
.
.
| geostats latfield=latitude_dgr longfield=longitude_dgr count by name
Thanksss 🙂
click.name and click.value are not the appropriate tokens to use when you are using a cluster map, which is what I am assuming you are using since you are using the geostats command to generate the data for the visualization. You can simply use $row.name$ as your drill down token since behind the visualization is just a big table and each cluster represents a row. Now this gets complicated when you have multiple names in a single tile, but I believe it should still be functional depending on your data.
Thank a lot for your reply 🙂
But when i use $row.name$, it's not recognize like a token 😕 :
<link target="_blank">/app/dashboard?name=$row.name$</link>
When you pop your query out of the dashboard and you are looking at the table instead of the visualization what is the name of the column that has the data you want in the token? Also please post the full drilldown part of your xml on the panel just in case.
Thx for your answer, the columns are the name of the cities 🙂 like this :
And this is my drilldown xml :
<drilldown>
<link target="_blank">/app/dashboard?name=$click.name2$</link>
</drilldown>
So, all my link are dashboard?name=NExxxx :// a single value for all points of the map
thank you !
Same for $row.name_city$, not recognize