Esri / information-lookup

Web app template that is used to determine if the location specified intersects a polygon
Apache License 2.0
6 stars 25 forks source link

Attribute expression not showing in pop up #65

Closed JFNI-Skive closed 6 years ago

JFNI-Skive commented 6 years ago

I have a webmap containing a pop up with an attribute expression, see below

IIf(IsEmpty($feature["SF_MAIL"]),'','Send email')

It works fine in the webmap, but in "Information Lookup" it is not shown.

MikeMillerGIS commented 6 years ago

can you change the pop up too IIf(IsEmpty($feature.SF_MAIL),'','Send email')

I did not account for the format of $feature['FIELDNAME']

JFNI-Skive commented 6 years ago

Thank you very much. That worked. $feature["SF_MAIL"]) is "default" when selecting attributes in the "Configure pop up" in webmaps.

MikeMillerGIS commented 6 years ago

I am adding support for that format. Make sense that is works, just did not think of it when writing the arcade parser.

MikeMillerGIS commented 6 years ago

Added a fix for this format, thanks for reporting it