Hyperlink in Popups - 2.4

979
2
10-14-2011 11:22 AM
BretAllphin
New Contributor
Hi everyone, been reading several posts about how to properly use hyperlinks in popup windows; and I have a question.

In my case I have a popup configured to show several fields, one of those being a field which contains a full url that I created using field calculator in arcmap. An example of a value in this field is 'http://athenscountyauditor.org/Data.aspx?ParcelID=1234567' (not a real value for the sake of example). The full url up to the '=' sign was one input and the {PARID} comprised the 1234567 value in calculator.

My question is, the documentation for 2.4 says that fields with valid links will automatically be clickable; in my case the popup returns nothing in that field (see attachment). So is something wrong with the URL that is making it appear invalid? In the pop up config I have it simply displayed as,

<field name="URL" alias= "Aud. Website" visible="true"/>.

I understand you can accomplish this functionality through the use of the description tag, but in using that you cannot use the fields tag - bummer. Any ideas?

Thanks-

Bret A.
Marietta Ohio
Tags (2)
0 Kudos
2 Replies
JustinConner
Occasional Contributor II
Here's my pop up config file if that helps.

<configuration>
    <title>Parcel ID:{PARCELNO}</title>
 <description>
  <![CDATA[<b><u>Owner Name:</u></b> {OwnerName}<br><b><u>Adddress:</u></b> {Adddress}<br><b><u>Property Type</u></b> {PropertyType}<br> <br><a href='{TaxLink}' target='_blank'>Click Here For Tax Bill</a>]]>
 </description>
    <showattachments>false</showattachments>
</configuration>
0 Kudos
BretAllphin
New Contributor
Justin,

This worked like a charm - thanks for your help!

Bret
0 Kudos