laptop and a wrench

Bug

Attribute expressions are not honored when configuring custom pop-ups using HTML in Portal for ArcGIS Map Viewer.

Last Published: December 27, 2022 Portal for ArcGIS
Bug ID Number BUG-000153804
SubmittedNovember 17, 2022
Last ModifiedDecember 13, 2024
Applies toPortal for ArcGIS
Version found11.0
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

The sanitizer in the third-party text editor used in Map Viewer is stringent. To avoid unwanted behavior, return the property values in the Arcade expressions as described in the workaround section.

Workaround

Use pop-up elements or alter the expression to return only the hexadecimal value, and specify in the HTML: style=background-color: #{expression/expr}.

Steps to Reproduce

Bug ID: BUG-000153804

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options