How to hide URL and link text for null values in pop up window in ArcGIS Online?

2535
1
07-12-2017 09:13 AM
Emilie_CPotter
New Contributor

I have a simple point location map, where every point has a pop up window with links to various PDF's. However, each location does not have the same number of PDF's - but, I cannot figure out how to hide url's and link texts in the pop up windows for null values.

Can anyone explain how to only show links/text for those with a value?

1 Reply
KellyGerrow
Esri Frequent Contributor

Hey Emilie Potter‌,

Check out the workflow in this blog using Arcade. If your attributes are html links, this should work. Note that this won't work for data that is stored as Attachments.

https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-disp...

-Kelly