AnsweredAssumed Answered

Use esri css classes in customised popup

Question asked by a.hirschi-wyssesri-rw-esridist Employee on Jun 14, 2016
Latest reply on Jun 14, 2016 by a.hirschi-wyssesri-rw-esridist


I'm trying to configure the popup with a "custom attribute display" for one layer in my webmap, with the same layout as the default (from jsapi-map.css), something like:

<table  class="attrTable" cellspacing="0px" cellpadding="0px">


<tr valign="top">

<td class="attrName"><b>Size in Hectare</b></td>

<td class="attrValue"><b>{Area_Ha}</td>


<tr valign="top">

<td class="attrName">Area used in Ha</td>

<td class="attrValue">{AreaHaUsed}</td>


<tr valign="top">

<td class="attrName"><b>Unique Parcel ID</b></td>

<td class="attrValue"><b>{UPI}</b></td>




Now what happens: I can save that, save the map and it looks good as expected. Yet when I reload the map, all the css classes are gone. Is this the expected behaviour or is it a bug? If it's expected, is there a way to use these classes in a customised popup? See screenshots.

Thanks for any hint,