Select to view content in your preferred language

decode arcade

835
2
Jump to solution
01-15-2018 08:44 PM
RaviYernena1
New Contributor

How do i decode a field value into a different text. I have field value "High" but would like to configure the popup as "High Flood Risk Area" etc.

0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

If you follow the steps to configure your popup from the Help, when you get to the part where you configure the Arcade expression, you'll type in a expression like

if ($feature.yourfield == 'High') {
    return 'High Flood Risk Area'
}

View solution in original post

2 Replies
KenBuja
MVP Esteemed Contributor

If you follow the steps to configure your popup from the Help, when you get to the part where you configure the Arcade expression, you'll type in a expression like

if ($feature.yourfield == 'High') {
    return 'High Flood Risk Area'
}

RaviYernena1
New Contributor

Thanks Ken for you help. I have ended up using Decode function.

0 Kudos