AnsweredAssumed Answered

AGOL Style Expression Based on 2 Attributes?

Question asked by vonmoosa on Jul 2, 2018
Latest reply on Jul 3, 2018 by KGerrow-esristaff

Can anyone help me build a expression for stylizing a feature based on 2 attributes. I have a yes / no attribute and a color attribute. If my yes / no attribute = no then I would like to color the symbol based on the color attribute. If my yes / no attribute = yes then I would like to enlarge the size and color the feature black.

 

-----------------------------------------

[
{ value: "yes", color: "#00C5FF", size: 15},
{ value: "no", color: "#BEE8FF", size: 8 }    
]

--------------------------------------------------

I'm assuming somewhere after value: "no" I would enter in the other attribute name and values along with size and color I would like set.

Outcomes