I’ve liked the ease of building a custom attribute display for popups in Classic Map Viewer, particularly combining data from a text field with a field with a url, as shown in the attached images (one in the module, and the other a popup in the public interface).
But I’m unclear about how to do this in Map Viewer using Arcade. Although I’ve looked at tutorial videos on Arcade for popups, most are either too advanced or do not cover how to do what I want to do. Is there an example of something similar that I can follow?
Solved! Go to Solution.
If I'm reading this correctly, you want to create a hyperlink in your pop-up, using one field for the hyperlink text and another field for the hyperlink URL. You do not need to use Arcade for that.
In the pop-up builder, add a Text element.
Add your two fields using the fields list picker.
Highlight and cut the field that contains your URL.
Highlight the field that contains your the text and click on the link button.
Paste in your URL field and click on the green check mark.
Hyperlink Fields
You would only need to use Arcade if you had to build the URL from multiple fields in your data.
Jen,
Many thanks for this, particularly for embedding a visual example in it that makes the steps easy to follow. I'll give it a try.
-Ken
Jen,
Your solution worked for me. Thanks!
-Ken