Hyperlinking in ArcGIS Server

Had trouble finding a solution for using hyperlinks in ArcGIS Server. Saw this post and I highlighted the section we were able to get working.

ArcGIS Server Blog : Hyperlinking in task results: “Hyperlinking in task results”

If you don’t want to add any custom code to your application, you can add a field to the feature class that stores the complete HTML for the hyperlink. You should include the tag, attributes, and text for the hyperlink, like this

: <a href=http://www.esri.com target=_blank>ESRI</a>

This is how it would look in the ArcMap table view:
Hyperlink HTML in ArcMap table view

This will create the following result in the ADF for a task result. You don’t have to do anything extra to create the link; the HTML gets interpreted automatically:

Task results with link to ESRI website Clicking this link will open http://www.esri.com.

Leave a Reply