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.
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.
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.