AnsweredAssumed Answered

Portal 10.6.1 Bug or Arcade Syntax Error?

Question asked by aroust on Sep 12, 2019
Latest reply on Sep 16, 2019 by xander_bakker

I'm running Portal for ArcGIS 10.6.1 and trying to use an Arcade Attribute Expression to populate a pop-up. Here is my syntax:


"The setback for the " + Proper($feature.FUNCTCLASS) + " road class is " +
"FREEWAY","150 feet ",
"MINOR ARTERIAL","100 feet ",
"MAJOR COLLECTOR","100 feet ",
"MINOR COLLECTOR","75 feet ",
"STREET","50 feet ",
+ "and the road frontage is " +
"FREEWAY","1320 feet.",
"PRINCIPAL ARTERIAL","1320 feet.",
"MINOR ARTERIAL","500 to 660 feet.",
"MAJOR COLLECTOR","500 to 660 feet.",
"MINOR COLLECTOR","330 feet.",
"STREET","250 feet.",

The syntax checks out when I test it:

Successful test of code


But I cannot get it to show up in the actual pop-up. I've tried using Display by "A description from one field" and selecting the expression from the drop-down list; I've also tried "A custom attribute display" with a reference to the expression. Either way, the sentence shown in the Value portion of the test above does not appear in the pop-up. When I go back into the pop-up settings, the options have reset to "A description from one field" and my expression is still saved in the Attribute Expressions section.


I thought this might be a 10.6.1 bug and I did find and install patch ArcGIS-1061-PFA-SEC2019U1-Patch, but that didn't fix the issue. I also tried to put the same expression into ArcGIS Online, but I got the same result.


Maybe Decode isn't supported for pop-ups in 10.6.1? I checked the version matrix, but I'm not certain that I'm reading the chart right.