Select to view content in your preferred language

Configured pop-ups with expression in ArcGIS Pro shows HTML code when published to Portal

202
1
4 weeks ago
GabrielScarcella
New Contributor II

Hello all!
I came across several posts that guided me to configure custom pop-ups using Arcade expressions in ArcGIS Pro (now using version 3.1.2).
https://community.esri.com/t5/arcgis-online-blog/conditional-field-display-with-arcade-in-pop-ups/ba...
https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/combining-arcade-and-html-for-a-real...
https://community.esri.com/t5/arcgis-pro-questions/how-do-you-display-popups-configured-in-pro-with/...
https://community.esri.com/t5/arcgis-pro-questions/configured-pop-ups-in-arcgis-pro-do-not-publish-t...

Now I want to publish those maps using Share > Overwrite web layer and found neither the label nor the values are showing up correctly in the published webmap.

What I intend to do is to show a simple table with bold field names, using a single expression that builds the required HTML code.

In ArcGIS Pro 3.1.2 the pop-ups are shown perfectly, while Enterprise Portal 10.9.1 shows the HTML code.

GabrielScarcella_0-1717184476406.png

Looks like Portal does not render the produced HTML code the same way Pro does. Do you know if there is any specific HTML code requirement for Portal to show configured pop-ups?

For several days now I'm struggling trying to make custom expression to show proper HTML code in pop-up after publishing to portal. Any help will be greatly appreciated.

0 Kudos
1 Reply
jcarlson
MVP Esteemed Contributor

The differences between Arcade in Pro and Arcade in Portal can sometimes be frustrating.

For Portal to render HTML properly, you need to use an Arcade popup element. https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/part-1-introducing-arcade-pop-up-con...

I don't remember, are these available in 10.9.1? You may be out of luck, if not.

- Josh Carlson
Kendall County GIS
0 Kudos