Removing field from popup when returns empty using arcade - agol?

311
0
01-17-2023 04:47 PM
Labels (2)
ScumBagSurfer
New Contributor II

I am trying to hide a field label within a popup when there is no value.

Only a few of my feature class has values for this field while others are empty.

Here is an example of a popup in the image attached.

I am trying to use arcade to remove the field label within the popup when the field is empty.

This is the code I have tried so far.

IIF(IsEmpty($feature.nt_legislationname), "None""inline")
 
nt_legislationname is the attribute I am trying to do this for.
Tags (3)
0 Kudos
0 Replies