I have created a Web Map in Enterprise 11.1 Portal. One of the layers used in the web map has a joined table for connecting Tax Parcels with Ownership and Tax information.
After doing quite a bit of research, I have determined that the only way to incorporate data from the joined table is by using an Arcade Expression.
There are several descriptive articles out there but the one that I followed to make my expression is is an ESRI Technical Support How To.
I typed it out in the Arcade Playground and it appears that a single line is causing this to fail, however, after multiple attempts I still cannot figure out how to fix it. On line 23, I get an invalid expression:
I have tried switching it out with
popupString += "Parcel ID: " + DefaultValue(f.PARCELID, 'No Info') + TextFormatting.NewLine
or
popupString += "Parcel ID: " + Text(f.PARCELID) + TextFormatting.NewLine
Nothing seems to want to let this expression work.
Is there anything that I am missing? I am not good with Arcade or debugging in general, so this might be completely off. Any help or advice would be well worthwhile for me.
Solved! Go to Solution.
Yeah so that return syntax is only for Arcade elements. if you're going to be including it as an expression in a Text element, then ditch everything except the popup_str variable and go back to reading it as "Return popup_str"