I have been trying to get a few values switched over between fieldnames/legal names/data names and the decode function feels like the way to do it but it just doesn't work for me. I have seen people in other coding environments use a very different syntax or array based stuff that I don't know how to do in ArcGIS Online Popup window.
It is clearly not working the way I think it does as listed here (https://developers.arcgis.com/arcade/function-reference/logical_functions/#decode) because that above code looks like this and when I try to add a default value it just entirely breaks.
The decode values should not be an array. Remove the square brackets and it should work.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.