Identify ??? Popup sample: Customize for hyperlink

Discussion created by jbenson on Nov 16, 2011
Latest reply on Aug 10, 2018 by bulbulmajumder
I am trying to customize the Identify �?? Popup sample (under Find and Identify) from samples at http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm?Legend such that a hyperlink is enabled from the field name.  At present the hyperlink appears in the window, but it is not clickable.  I would like to instead have an alias name for the hyperlink.  When a user clicks on the name the hyperlink is activated.   In the function executeIdentifyTask (evt)  { there is an else if statement

else if (result.layerName === 'Building Footprints'){
              var template = new esri.InfoTemplate("", "Parcel ID: ${PARCELID}");

I am presuming PARCELID if the field name.  How would I make PARCELID as a clickable hyperlink?  Is there a way to put an alias name on PARCELID so the user would see somethink like URL or Link that would be clickable?

Thanks for any suggestions.