I'm trying to get this popup expression to work in ArcGIS Online using ArcGIS Arcade.
if ($feature["Road_Work_Ahead_Deployed"] >= 1){
return "Road Work Ahead Deployed: " + $feature["Road_Work_Ahead_Deployed"]
}
+ TextFormatting.NewLine +
if ($feature["LCA_Velcro_Deployed"] >= 1){
return "LCA Velcro: " + $feature["LCA_Velcro_Deployed"]
}
I do something very similar in ArcMap using VBscript but I can't seem to make it work in ArcGIS Arcade. Is it possible to chain statements together like this in one expression?