I am trying to create an attribute rule using a dictionary in Arcade for our Zoning layer. The dictionary will have one key and two values. I want to compare the values in the dictionary to two fields. However, I am not sure how to call each value in the expression.
The idea is to use value one as my control against one field. Then update another field with value two.
Ex:
Value 1 = R-1
Value 2 = Single-Family District
Field 1 = R-1
Field 2 = Single-Family and Two-Family District
Value 1 == Field 1
Value 2 != Field 2
Therfore Field 2 will be update with the Value 2.
Any help will be appreciated. Thanks