Allow raw HTML in arcgisonline popup configuration

2008
3
07-19-2012 01:20 PM
NianweiLiu
Occasional Contributor II

This is an enhancement request to allow raw HTML in popup when using custom config.
--create a web map.
--Add a map service.
--enable popup for a layer.
--config popup.
--in popup contents, choose "A Custom attribute display".
--click config.
--Request enhancement to allow the content be set to HTML code. (similar to the capability to config setting Organization Home Page-Banner using HTML).

The actual use case I am looking for is to use a full size iframe from a server page and pass in attribute of the feature as parameter in the src URL.

3 Comments
KellyGerrow

Thanks for submitting this idea! ArcGIS Online supports html in the pop ups. You can see the supported tags and attributes in this documentation: Supported HTML—ArcGIS Online Help | ArcGIS

Let us know if you are looking for more functionality than what is provided.

by Anonymous User

Hi Kelly, do you think a future update will include full HTML, CSS and iFrame support? With ability for attributes to drive display based on Arcade. You could change popups background color, size, and shape based on a tree type in a Tree layer for a quick example. And hide or show an image, button, style it, etc. With full HTML and CSS possibilities are infinite. And in the short term, adding the Title tag would be helpful, to allow us to make tooltips.

by Anonymous User

Hi @NianweiLiu & @Anonymous User - have you had a chance to check out the new HTML editor in Map Viewer? You can dynamically set attributes from features or expressions, and also return HTML directly from an Arcade expression. Does this work for your use cases? Also, I am not aware of any plans at this time to begin supporting iFrames. Thanks!