Hi. I am working with the January 22, 2020 FEMA data release for my area. I am using the Flood Inquiry web map and app solution. I am new to Arcade. I am trying to create an expression using the 'When' function to provide some descriptive text in the web map and application pop-up. All works well except when I have no value in a record in the ZONE_SUBTY field. How do I have the text written in the pop-up for empty fields? Below is the current Arcade expression. The string in italics is the troublemaker. Thanks in advance, Jay
var zonesubtype = $feature.ZONE_SUBTY;
When (zonesubtype == 'FLOODWAY','Floodway designation of AE',zonesubtype == '','AE - An area inundated by 1% annual chance flooding for which BFEs have been determined',zonesubtype == '0.2 PCT ANNUAL CHANCE FLOOD HAZARD','X - An area determined be 0.2% annual chance flood hazard',zonesubtype == 'AREA OF MINIMAL FLOOD HAZARD','X - An area of minimal flood hazard','')