Select to view content in your preferred language

How to combine dynamic and static info in a Tooltip

248
2
Jump to solution
03-07-2025 06:33 AM
FranklinAlexander
Frequent Contributor

I am trying to create a Tooltip that combines static text with dynamic (an attribute), but not finding a way to do it. This is for a label that contains both static and dynamic content and I want the hover text to include the entire label and not have to make a choice between the two. You can see from the image below, when a selection is made in the List widget, the selected county name appears in the label:

FranklinAlexander_0-1741356751013.png

I've tried to use an Expression for the Tooltip, but when I try to combine the static text and an attribute in the Expression box I get an invalid expression message. 

Tooltip1.PNGTooltip2.PNGTooltip3.PNG

 

Seems weird that you can't do this, is there a trick to this that I am missing?

0 Kudos
1 Solution

Accepted Solutions
JeffreyThompson2
MVP Frequent Contributor

I believe the trick here is "Fish present in " + {County} + " county"

GIS Developer
City of Arlington, Texas

View solution in original post

0 Kudos
2 Replies
JeffreyThompson2
MVP Frequent Contributor

I believe the trick here is "Fish present in " + {County} + " county"

GIS Developer
City of Arlington, Texas
0 Kudos
FranklinAlexander
Frequent Contributor

Yep, just got it!! Thanks.

0 Kudos