Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Creating a hyperlink that will work in the search widget

$
0
0
Hello all,

I'm trying to create a hyperlink to a picture of our tax cards. The link is stored in a field in the parcels attribute table and looks like this:

<a href="http://208.88.162.36/inVizeDA/view.aspx?section=30&folder=12811" target="_blank">Tax_Card</a>

The code for the search widget looks like this

<layer>
<name>Address</name>
<url>http://radfordgis.radford.va.us/ArcGIS/rest/services/RealestateData/MapServer/3</url>
<expression>LOCADDR LIKE '%[value]%'</expression>
<textsearchlabel>Search by Full Address [ex. 123 Monroe St]:</textsearchlabel>
<graphicalsearchlabel>Use one of the graphical search tools to select addresses</graphicalsearchlabel>
<fields>
<field name="LOCADDR" alias="Address" />
<field name="TAXACCT" alias="Tax Account"/>
<field name="OWNER1" alias="Owner" />
<field name="Legal1" />
<field name="TotVal1" />
<field name="CARDLINK" alias="Tax card link"/>
</fields>
<titlefield>ADDRNUM</titlefield>
<linkfield>CARDLINK</linkfield>
<gridfields>FULLADDR</gridfields>
<gridhyperfields showalias="true"/>
<zoomscale>2000</zoomscale>
</layer>

When I identify a parcel and click on the link that looks like a triangle on the right side of the widget it opens a new tab and has this error message "Bad Request" and the URL in the address bar is:

http://radfordgis.radford.va.us/flex...x_Card%3C/a%3E

Any help getting this link to work would be great,

Thanks!

Viewing all articles
Browse latest Browse all 2097

Trending Articles