Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using ArcGIS API for JavaScript and I want to use a value from a feature class attribute as a hyperlink. For example, "template.setContent("Web Address: http://www.esri.com>${Web_Address}"); This creates an info window with "Web Address" link to ESRI's website. The web addresses for my features (about 950 features of a polygon features class) are included in the "Link" field. How do I write the code similar to the above example but the link in my info window to point the the attribute record in my "Link" field?

share|improve this question
    
Hi, this question has been answered in this link link. –  Geohab Aug 22 at 11:06
    
please add that as an answer. –  CLJ Aug 24 at 21:52

1 Answer 1

This is the answer posted on GeoNet by riyasdeen_b

"below should do it.

template.setContent("Link");"

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.