<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use HTML in an attribute field in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1377275#M57216</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to share your code that made the iframe work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 20:47:48 GMT</pubDate>
    <dc:creator>LayerItOn</dc:creator>
    <dc:date>2024-02-01T20:47:48Z</dc:date>
    <item>
      <title>How to use HTML in an attribute field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1173288#M46010</link>
      <description>&lt;P&gt;I have a KML that has points. These points have a popup that use HTML to display tables and images. When I convert the KML to a layer in ArcGIS Pro, the popup parses the HTML and CSS and displays as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonBennett_1-1652358736378.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41220iAF3C3B85E24C2F80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonBennett_1-1652358736378.png" alt="JasonBennett_1-1652358736378.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've uploaded this layer to AGOL, and attempted to set the popup display to 'A custom attribute display' and simply put in the attribute tag.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonBennett_0-1652358647403.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41219iC28E1EEC5E8221D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonBennett_0-1652358647403.png" alt="JasonBennett_0-1652358647403.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, it displays the HTML as text in the popup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonBennett_2-1652358864924.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41221iA0591BAF72ED3C86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonBennett_2-1652358864924.png" alt="JasonBennett_2-1652358864924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I get AGOL to display the HTML properly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 12:36:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1173288#M46010</guid>
      <dc:creator>JasonBennett</dc:creator>
      <dc:date>2022-05-12T12:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use HTML in an attribute field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1173321#M46017</link>
      <description>&lt;P&gt;Are you putting the html in the right window? Have you clicked the button in the top right with the arrows on to get to the html window?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 13:53:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1173321#M46017</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-12T13:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use HTML in an attribute field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1173329#M46018</link>
      <description>&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;Yes. I've done it both ways. However, I'm not actually putting any HTML in myself. This HTML exists in the 'PopupInfo' attribute field.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 14:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1173329#M46018</guid>
      <dc:creator>JasonBennett</dc:creator>
      <dc:date>2022-05-12T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use HTML in an attribute field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1173334#M46019</link>
      <description>&lt;P&gt;It'll be interesting to know the solution. I've used custom attribute expressions in the pop-up which have worked well - but I don't know the answer to your problem.&lt;/P&gt;&lt;P&gt;Thanks for my first kudos - even though I didn't give you the right solution!&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 14:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1173334#M46019</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-12T14:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use HTML in an attribute field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1174206#M46058</link>
      <description>&lt;P&gt;As it turns out, Arc is trying to display the HTML. However, it doesn't like the stuff in the &amp;lt;head&amp;gt; such as styles and scripts. If I remove the beginning of the HTML, everything is displayed, but some formatting is lost due to removing the styles (and the scripts were unnecessary in this context anyway).&lt;/P&gt;&lt;P&gt;Right now it is working well enough and the popup is set as a list of field attributes...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonBennett_0-1652715502699.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41427i14376CC4004CF4E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonBennett_0-1652715502699.png" alt="JasonBennett_0-1652715502699.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 15:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1174206#M46058</guid>
      <dc:creator>JasonBennett</dc:creator>
      <dc:date>2022-05-16T15:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use HTML in an attribute field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1377275#M57216</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to share your code that made the iframe work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 20:47:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-html-in-an-attribute-field/m-p/1377275#M57216</guid>
      <dc:creator>LayerItOn</dc:creator>
      <dc:date>2024-02-01T20:47:48Z</dc:date>
    </item>
  </channel>
</rss>

