Select to view content in your preferred language

How to link a field URL in a custom popup?

1915
2
10-17-2012 09:14 AM
RobbWright
Occasional Contributor
I'm adding a Server10 service in ArcGIS.com and am customizing the popup window for one of the layers.

That layer has a field with a full URL in it ({IMG_URL} ).  When I add that field to the custom popup dialog box, the result in the popup is the full URL/field value - but it is *not* hyperlinked.

When I add the service in and leave the popup window alone/default, the field is hyperlinked with the "More info" link.

How can I add the URL field into a customized popup and have the field be hyperlinked?
Tags (2)
0 Kudos
2 Replies
SisiYan
Frequent Contributor
0 Kudos
MikeMinami
Esri Notable Contributor
We use a third party toolkit to provide the rich text editor of the custom attribute display. The tool that generates a link doesn't seem to allow you to enter a field variable {field} that contains the entire URL string. The text input box won't validate the string. However, you can enter the link as such:

http://www.xxx.com/{Field}

where some variable value is substituted as part of the URL.

You can also open your map in ArcGIS Explorer Online (http://www.arcgis.com/explorer) and format the custom link there.

Thanks,

Mike
0 Kudos