AnsweredAssumed Answered

Arcade Expressions, Conditionals and PopUps

Question asked by deleted-user-jxpbpbjlZInj on Dec 6, 2018
Latest reply on Dec 6, 2018 by deleted-user-jxpbpbjlZInj

I have a hosted feature layer where there are two fields I'm concerned with: Status and Assignment_Type

 

The status can be reported, assigned or completed. If it's assigned, then an assignment type is given. I want the popup to display the Assignment_Type only when the Status field = "Assigned"

I have written:

 

If($feature.Status=='Assigned'){

return ($feature.Assignment_Type)

}

else{

return ""

}

 

However, the Assignment_Type shows up unconditionally!  What am I doing wrong?

Outcomes