Customize pop-up, not to show empty attribute fields

2651
5
06-24-2014 07:43 AM
MarcelTesch
New Contributor
Hey guys,

i´m actually trying out the functions for customizing a pop-up, when clicking on a feature.

In my actual case, i´m presenting a picture in a pop-up, but not all features have this resource. So in this cases i want to skip the picture attribute.

Can anybody tell me how i can hide empty attribute fields?
Filtering seems not to be an option, because i want to show all features. Even if one attribute is empty!


Any suggestions?

greetings and thanks,
geoMTesch
Tags (2)
0 Kudos
5 Replies
MikeMinami
Esri Notable Contributor
Well, here's a suggestion.

I created a custom attribute display for my popup. Then added an image media. My data has a field with a unique URL for each feature that points to a unique image. For those features that don't have a URL, the popup doesn't display the image.

Thanks,

Mike
0 Kudos
KendellRyan
Occasional Contributor

I just stumbled on this forum with the same question.  Mike, the image you attached is blank.

0 Kudos
KendellRyan
Occasional Contributor

Nevermind, I found the post on doing this with Arcade Expressions and that worked!

0 Kudos
KellyGerrow
Esri Frequent Contributor

Hi Kendell,

Was this the post? 

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

If not, can you link to the helpful post so others can also find what helped?

Thanks,

Kelly

0 Kudos
KendellRyan
Occasional Contributor

That was the post that worked

0 Kudos