Select to view content in your preferred language

Web Map - Custom Attribute Display - Dynamically Hide Fields with NULL Values

1760
1
Jump to solution
03-09-2017 11:36 AM
BenGrod
Frequent Contributor

Is it possible within a Web Map using the Custom Attribute Display (pop up window) to not display fields if the value within the field is NULL? For instance, if your map service/layer has 5 attribute fields, you define the pop up to display all 5 fields but apply a condition to only display the field if it contains values (is NOT NULL). I'm asking because we have a feature with over 75 fields most of which are NULL but can contain values. We would like the pop up to only show the fields with values to reduce the size of the window and avoid the end user having to scroll/search for the important fields.

Thanks in advance,

Ben 

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Ben,

   Yes. but you would have to do something like this JS API thread shows:

https://community.esri.com/thread/159759 

View solution in original post

1 Reply
RobertScheitlin__GISP
MVP Emeritus

Ben,

   Yes. but you would have to do something like this JS API thread shows:

https://community.esri.com/thread/159759