AnsweredAssumed Answered

One Pop Up Expression for Multiple Attributes?

Question asked by bhemmer_usfs on May 10, 2019
Latest reply on May 14, 2019 by bhemmer_usfs

Is there a way to create one Arcade expression that could be applied across multiple attributes instead of creating an expression for each one?

 

Example:

I have a feature layer and it has, let's say, 20 attributes. If there is a NULL I want the pop up to display "No observations", and if there is data, display said data. Right now I currently have to make an Arcade expression for each attribute. Here is my expression;

Text(IIf(IsEmpty($feature.Est1), "No observations", $feature.Est1), '#,###')

 

Now instead of copying and pasting this expression 20 times and just changing what attribute it applies to is there a way to just do it with one? This also applies to Pro as well (Better Pop Up Arcade Expression?).

 

Any easier way to do it would be to change the data in Pro and have be text but then that throws a bunch of stuff off and that's a whole different topic. Thanks everyone!

Outcomes