I am having an issue with just one of several arcade expressions that I'm using in a pop up. In ArcGIS Pro I have created a map where a user can search an address, and the map will zoom to the address with a pop up containing information for their county officials. Everything works great in ArcGIS Pro. All expressions are valid, and the correct information populates where it should.
However, when I export the map from Pro to AGOL and view in Map Viewer Classic, the expression for the county commissioner populates nothing in the pop up.
I have validated the expression in Map Viewer. It tests just fine, but it will not populate in the pop up. Of course, since the expression won't work in Map Viewer, it's not working in the public facing web app.
I created a whole new web map to use. I have not overwritten the web layer at all.
Does anyone out there have any suggestions for things I should check or any next steps? Any help is much appreciated!
Solved! Go to Solution.
Is the COUNTY COMMISSIONER field populated correctly in the Web Map Attribute table?
Could you configure popup and rewrite the expression for the layer in the web map?
Thank you for the suggestion! I decided to go check the expressions and the formatting this morning with fresh eyes, and found that I had not formatted the opening bracket of the expression text "{" the same as the rest of the expression text - bold blue font/text - in the Configure Attribute Display in Map Viewer. Once I fixed that, the expression worked perfectly.
Is the COUNTY COMMISSIONER field populated correctly in the Web Map Attribute table?
Could you configure popup and rewrite the expression for the layer in the web map?
Thank you for the suggestion! I decided to go check the expressions and the formatting this morning with fresh eyes, and found that I had not formatted the opening bracket of the expression text "{" the same as the rest of the expression text - bold blue font/text - in the Configure Attribute Display in Map Viewer. Once I fixed that, the expression worked perfectly.