<?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: Create HTML for popup with Arcade? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439952#M22212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look at my answer here&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups#comment-66670" title="https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups#comment-66670"&gt;https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-p…&lt;/A&gt;&amp;nbsp; you will see that you can include display:none and display:inline attributes in the html which are defined based on a field being none and will either show or hide the row.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2018 19:24:33 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2018-11-28T19:24:33Z</dc:date>
    <item>
      <title>Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439943#M22203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create HTML for a popup with Arcade? Something along the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/375584_arcade_html1.PNG" style="width: 620px; height: 233px;" /&gt;&lt;/P&gt;&lt;P&gt;But that gives me this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/375586_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 15:27:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439943#M22203</guid>
      <dc:creator>RowenaTansley</dc:creator>
      <dc:date>2017-09-29T15:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439944#M22204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain your workflow in more depth. Arcade will return a value to be included in a pop up, label or used in rendering. You can use supported html in pop ups, which you can apply to the Arcade values:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm" title="http://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm"&gt;Supported HTML—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this blog for examples:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups?sr=search&amp;amp;searchId=d8ccaf3d-e141-4771-a731-e367608cfecc&amp;amp;searchIndex=0"&gt;https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups?sr=search&amp;amp;searchId=d8ccaf3d-e141-4771-a731-e367608cfecc&amp;amp;searchIndex=0&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 21:24:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439944#M22204</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2017-09-29T21:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439945#M22205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. What I want to do is parse HTML using Arcade and reference that in the popup. I suppose another example that might be simpler is, if I have HTML stored in a field, can that be rendered in a popup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rowena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 21:32:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439945#M22205</guid>
      <dc:creator>RowenaTansley1</dc:creator>
      <dc:date>2017-09-29T21:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439946#M22206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the answer is no if you look at the link of the supported html that&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3063" target="_blank"&gt;Kelly Gerrow&lt;/A&gt;&amp;nbsp;provided.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In theory it would have been possible to have a iframe and use the scrdoc attribute (&lt;A href="https://www.w3schools.com/tags/att_iframe_srcdoc.asp" title="https://www.w3schools.com/tags/att_iframe_srcdoc.asp" rel="nofollow noopener noreferrer" target="_blank"&gt;HTML iframe srcdoc Attribute&lt;/A&gt;) and fill it with a fully qualified html page (none of this would require Arcade BTW):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;// html pop-up would have:
&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;iframe&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;srcdoc&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;{field with html}&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;iframe&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;

// Field would contain some like:
&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;html&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;body&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;h1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;This is a Heading&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;h1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;p&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;This is a paragraph.&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;p&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;body&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;html&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;

// Resulting in:
&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;iframe&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;srcdoc&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&amp;lt;html&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&amp;lt;body&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&amp;lt;h1&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;This is a Heading&amp;lt;/h1&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&amp;lt;p&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;This is a paragraph.&amp;lt;/p&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&amp;lt;/body&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&amp;lt;/html&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;iframe&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, iframes are not allowed and filtered out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of HTML does your field contain? If you can elaborate on that we might be able to advise you how you could change your data to construct the html in the pop-up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439946#M22206</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T19:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439947#M22207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. If Iframes were a possibility that would be wonderful &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;but I understand they are not supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I have information in my polygon layer that is actually 1-many relationships (I didn't like how the Related Table functionality is handled by AGOL). So, I put all the information into the parent table. Currently I am experimenting with JSON, and if Arcade can somehow loop through it. Happy to use comma delimited, or whatever Arcade can understand.&amp;nbsp; An example would be Property Parcels having many addresses and many legal information records. I want to loop through this information stored in 1 field, and display it nicely in Rows and with Headings. In the end I want to be able to format the data, and there is an unknown amount of records embedded in the field. So I am hoping to use Arcade (or anything else you might recommend!) to look through the field and then display the information nicely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have complete control of my data and can change the format as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 15:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439947#M22207</guid>
      <dc:creator>RowenaTansley1</dc:creator>
      <dc:date>2017-10-02T15:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439948#M22208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks from the document you provided that the tag &amp;lt;p&amp;gt; is accepted. But I can't get it to work from an Arcade expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/375671_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 15:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439948#M22208</guid>
      <dc:creator>RowenaTansley1</dc:creator>
      <dc:date>2017-10-02T15:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439949#M22209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried some things, but without any luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As my html in the opp-up I have something like:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="language-css style token"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;style&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="selector token"&gt;#table01&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;font-family&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; arial, sans-serif&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;border-collapse&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; collapse&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;width&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 100%&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="selector token"&gt;#tdth01&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;border&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 1px solid #005da0&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;text-align&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; left&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;padding&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 8px&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;style&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;table&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;id&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;#table01&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;tr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;th&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;id&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;#tdth01&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Property Parcels&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;th&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;th&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;id&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;#tdth01&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Addresses&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;th&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;tr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;tr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;td&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;id&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;#tdth01&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Some parcel code&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;td&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;td&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;id&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;#tdth01&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;{expression/expr0}&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;td&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;tr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;table&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;On line 21 you see the expression. However, trying to get an enter in there between different items, just did not work. See a screenshot of some things I tried.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/375678_pastedImage_1.png" style="width: 620px; height: 306px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Don't use the carriage return and/ or line feed (line 9 and 10), since it will break things!&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Console in some cases shows that each items is on a separate line (using "\n"), however in the pop-up it is stripped out and items will be on the same line. No luck either using "&amp;lt;br&amp;gt;" or using lists "&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;" etc...all html returned from Arcade seems to get stripped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439949#M22209</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T19:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439950#M22210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like this also. HTML in Arcade. And ability to use it to alter the DOM and popup appearance based on data-driven logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, button to add custom html on TOP of regular popup. Usually I like everything in the popup, keeping most fields on, but I just need to add a link.&amp;nbsp; Currently you have to create it all again by hand in the &amp;lt;/&amp;gt; button&amp;nbsp;html editor view, then add the link after re-entering all the other attribute fields. Would be a nice time-saver. Perhaps it could have an option to keep all the regular html from the normal popup and let you just add on to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 20:11:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439950#M22210</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-01-31T20:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439951#M22211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I want to check what fields are not empty in order to show only those. I want to use only one arcade expression, where I evaluate all fields and return a table to draw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the only thing I obtain is the html code written in the popup window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My arcade code is something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate([&lt;/P&gt;&lt;P&gt;IIf(IsEmpty($feature["name0"]), "", Concatenate(["&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;name0:&amp;lt;/td&amp;gt;&lt;SPAN&gt;&amp;lt;tr&amp;gt;&lt;/SPAN&gt; ",$feature["name0"],"&lt;SPAN&gt;&amp;lt;/tr&amp;gt;&lt;/SPAN&gt;"],""))&lt;BR /&gt;,IIf(IsEmpty($feature["name1"]), "", Concatenate(["&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;name1:&lt;SPAN&gt;&amp;lt;/td&amp;gt;&amp;lt;tr&amp;gt;&lt;/SPAN&gt;",$feature["name1"],"&lt;SPAN&gt;&amp;lt;/tr&amp;gt;&lt;/SPAN&gt;"],""))&lt;BR /&gt;,IIf(IsEmpty($feature["name2"]), "", Concatenate(["&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;name2:&lt;SPAN&gt;&amp;lt;/td&amp;gt;&amp;lt;tr&amp;gt;&lt;/SPAN&gt;",$feature["name2"],"&lt;SPAN&gt;&amp;lt;/tr&amp;gt;&lt;/SPAN&gt;"],""))&lt;BR /&gt;,IIf(IsEmpty($feature["name3"]), "", Concatenate(["&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;name3:&lt;SPAN&gt;&amp;lt;/td&amp;gt;&amp;lt;tr&amp;gt;&lt;/SPAN&gt;",$feature["name3"],"&lt;SPAN&gt;&amp;lt;/tr&amp;gt;&lt;/SPAN&gt;"],""))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;],"")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The alternative is to customize popup window programmaticaly, but I'd prefer to store this behaviour on the webmap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be available soon....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 17:14:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439951#M22211</guid>
      <dc:creator>RubénPérez_Planillo</dc:creator>
      <dc:date>2018-11-28T17:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439952#M22212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look at my answer here&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups#comment-66670" title="https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups#comment-66670"&gt;https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-p…&lt;/A&gt;&amp;nbsp; you will see that you can include display:none and display:inline attributes in the html which are defined based on a field being none and will either show or hide the row.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 19:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439952#M22212</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-11-28T19:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439953#M22213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But It's not what I need. I have 300 fields (I didn't prepare that data... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/plain.png" /&gt;) and I want to avoid to create 300 arcade expressions. My idea is to generate only one containing all HTML code needed. I automate arcade expression creation in an excel and then load it into the webmap configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why i need the posibility of inject HTML through arcade expressions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice to have a possibility to automate creation of arcade expressions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 07:56:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439953#M22213</guid>
      <dc:creator>RubénPérez_Planillo</dc:creator>
      <dc:date>2018-11-29T07:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439954#M22214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;agree ^^ we need ability to inject&amp;nbsp;full html /css in to the popup via arcade. Basically step 1) allow full HTML CSS in popup 2) allow Arcade to generate it, and base it off attributes so attributes can drive look and feel of popups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 18:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439954#M22214</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-11-29T18:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439955#M22215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We&amp;nbsp;are still looking to create popups that render full HTML as generated by Arcade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly this&amp;nbsp;&lt;STRONG&gt;does&amp;nbsp;&lt;/STRONG&gt;work in Story Maps. Just not in web Apps or web maps.&amp;nbsp; I&amp;nbsp;was thinking this is because the story maps are API 4.x whereas the WebApp Builder apps and webmap are 3.x?&amp;nbsp; Esri team,&amp;nbsp;any thoughts on if this means&amp;nbsp;app popups will support full HTML in the future?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example viewer, with both a Story Map and a WebApp from the same webmap:&lt;/P&gt;&lt;P&gt;&lt;A href="https://sagis.maps.arcgis.com/apps/MapSeries/index.html?appid=f5e546c14e2b4761acb8d3ab0e65f9a3"&gt;https://sagis.maps.arcgis.com/apps/MapSeries/index.html?appid=f5e546c14e2b4761acb8d3ab0e65f9a3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the WebApp not only does the HTML not render but the links in the attachments don't seem to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 17:19:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439955#M22215</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-05-14T17:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439956#M22216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This map doesn't appear to be shared. Cam you share the app so we can look into it a bit further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Html is not supported when passed through an Arcade Expression so needs to be configured with supported HTML. The Story Map Series app is written in 3.x so it looks like it is something else that is causing the discrepancy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 23:24:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439956#M22216</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2019-05-14T23:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439957#M22217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Webmap now public and should work. Oh I had figured based on the look of them it was 4.x. Interesting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 02:06:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439957#M22217</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-05-15T02:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439958#M22218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is exactly what I'm attempting to do with an Arcade expression.&amp;nbsp; I have a feature class with a "Notes" field, whose input I can't control.&amp;nbsp; Users can either type a short note, or they can paste a URL to a document.&amp;nbsp; If they enter a URL, I would like the popup to show a link in the popup, saying "More info" instead of the full URL to the document as a plain string.&amp;nbsp; If they enter a note, I would like to show that as a string.&amp;nbsp; I have this Arcade expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;   IIf(Find('http', $feature.Note) == 0, 
       Concatenate(["&amp;lt;a href='", $feature.Note, "'&amp;gt;More info&amp;lt;/a&amp;gt;"]),
       $feature.Note
       )

&lt;/PRE&gt;&lt;P&gt;To summarize, if the Note begins with 'http', I want to format it as an HTML link to that URL and return it.&amp;nbsp; If not, just return the original Note string unchanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression returns the correct behavior, but the HTML isn't rendering in the popup.&amp;nbsp; It shows as a string, inside quotes, when I look at the popup source code.&amp;nbsp; That seems to be the issue.&amp;nbsp; I would like the popup to render the &amp;lt;a&amp;gt; tag as an HTML link, as if I typed that &amp;lt;a&amp;gt; element directly inside the popup's HTML Source in the Custom Attribute Display, not as a quoted string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most other solutions have suggested adding something like this to the popup:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;   &amp;lt;a href='&amp;nbsp;{expression/expr0} '&amp;gt;More Info&amp;lt;/a&amp;gt;

&lt;/PRE&gt;&lt;P&gt;But, I can't do that, if the Note field contains text, instead of a URL.&amp;nbsp; Again, I didn't create this schema, I'm trying to use some logic to get around a less-than-ideal data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:29:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439958#M22218</guid>
      <dc:creator>FFSL_-_JustinJohnson</dc:creator>
      <dc:date>2021-12-12T16:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439959#M22219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have this question! I'd like to create a nicely-formatted table for a one-to-many relationship, and only add table rows for the number of values. The rows per feature vary from 1 to 15. Right now, I have to do this using a list in Arcade:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var main = FeatureSetByRelationshipName($feature,"Remote_Releases",["FACILITY","AGENCY","SPECIES","MIN_BROOD_YEAR","Max_Year","TOTAL_RELEASED"])
var fltr = OrderBy(Filter(main,"TOTAL_RELEASED &amp;gt; 0"), 'Max_Year DSC')

var rList = '';
for (var r in fltr){
&amp;nbsp;&amp;nbsp;&amp;nbsp; rList += TextFormatting.NewLine + '-(' + r.AGENCY + ' ' + r.MIN_BROOD_YEAR + '-' + Text(r.Max_Year) + ") " + r.SPECIES + ": " + Text(Round(r.TOTAL_RELEASED), '#,###') + ' released'
}

return rList&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This produces a list of values as shown below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="378" src="https://community.esri.com/legacyfs/online/491226_pastedImage_1.png" width="321" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd really like to do instead of iteratively creating a list based on the number of releases at a site, is iteratively create rows in a table so that this pop-up is more consistently formatted like the rest of my custom pop-ups in the map:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="399" src="https://community.esri.com/legacyfs/online/491227_pastedImage_2.png" width="381" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried out the conditional formatting display option with no luck, since once you're beyond the maximum releases for a given site, the attempt to index the value returns an out of bounds error. Is this capability on the horizon for Arcade?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:41:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439959#M22219</guid>
      <dc:creator>EmmaHatcher</dc:creator>
      <dc:date>2021-12-11T19:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439960#M22220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can generate html using arcade expressions. After just put created expression to text popup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return "&amp;lt;style&amp;gt;"+&lt;BR /&gt;"#popup {font-family: arial, sans-serif;border-collapse: collapse;width: 100%;}"+&lt;BR /&gt;"#popup td, #mytable th {border: 1px solid #dddddd;text-align: left;padding: 8px;}"+&lt;BR /&gt;"#popup tr:nth-child(even) {background-color: #eeeeee;}"+&lt;BR /&gt;"&amp;lt;/style&amp;gt;"+&lt;BR /&gt;"&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;table id=popup&amp;gt;"+&lt;BR /&gt;"&amp;lt;tr&amp;gt;"+"&amp;lt;td&amp;gt;Name &amp;lt;/td&amp;gt;"+"&amp;lt;td&amp;gt;"+$feature.NAME+"&amp;nbsp;&amp;lt;/td&amp;gt;"+"&amp;lt;/tr&amp;gt;"+&lt;BR /&gt;"&amp;lt;tr&amp;gt;"+"&amp;lt;td&amp;gt;Owner &amp;lt;/td&amp;gt;"+"&amp;lt;td&amp;gt;"+$feature.OWNER+"&amp;nbsp;&amp;lt;/td&amp;gt;"+"&amp;lt;/tr&amp;gt;"+&lt;BR /&gt;"&amp;lt;tr&amp;gt;"+"&amp;lt;td&amp;gt;Key person &amp;lt;/td&amp;gt;"+"&amp;lt;td&amp;gt;"+$feature.KEYPERSON+"&amp;nbsp;&amp;lt;/td&amp;gt;"+"&amp;lt;/tr&amp;gt;"+"&amp;lt;/table&amp;gt;"+&lt;BR /&gt;"&amp;lt;/html&amp;gt;&amp;lt;/body&amp;gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2020 16:55:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439960#M22220</guid>
      <dc:creator>KydyrovMeirambek</dc:creator>
      <dc:date>2020-11-05T16:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439961#M22221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried to iteratively build a set of tables using the code I posted below, and it returns nothing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var main = FeatureSetByRelationshipName($feature,"Remote_Releases",["FACILITY","AGENCY","SPECIES","MIN_BROOD_YEAR","MAX_BROOD_YEAR","TOTAL_RELEASED"])&lt;BR /&gt;var fltr = OrderBy(Filter(main,"TOTAL_RELEASED &amp;gt; 0"), 'MAX_BROOD_YEAR DSC')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var rList = '&amp;lt;table&amp;gt;&amp;lt;tbody&amp;gt;';&lt;BR /&gt;for (var r in fltr){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rList += TextFormatting.NewLine + '&amp;lt;table&lt;SPAN class="" style="color: brown;"&gt;&lt;SPAN class="" style="color: red;"&gt;&lt;SPAN class="" style="color: mediumblue;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;tbody&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Species: ' + r.SPECIES + ' - Agency: ' + r.AGENCY + '&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Brood Years: ' + r.MIN_BROOD_YEAR + '-' + Text(r.MAX_BROOD_YEAR) + "&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Total Released: " + Text(Round(r.TOTAL_RELEASED), '#,###') + '&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;'&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2020 17:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439961#M22221</guid>
      <dc:creator>EmmaHatcher</dc:creator>
      <dc:date>2020-11-05T17:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create HTML for popup with Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439962#M22222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/392390"&gt;Kydyrov Meirambek&lt;/A&gt;&amp;nbsp; and&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/311529"&gt;Emma Hatcher&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you return HTML using Arcade in a Pop-up? Yes. Will&amp;nbsp;you get something useful? No. To visualize the effect with the current and beta map viewer in ArcGIS Online:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="288" src="https://community.esri.com/legacyfs/online/512598_pastedImage_3.png" width="278" /&gt;&amp;nbsp;&lt;IMG class="image-2 jive-image" height="242" src="https://community.esri.com/legacyfs/online/512599_pastedImage_4.png" width="293" /&gt;&lt;/P&gt;&lt;P&gt;So HTML will be returned, but it will not give you the expected result in the pop-up. Returning HTML in the pop-up using Arcade is possible in ArcGIS Pro, but not in the web map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;&lt;A href="https://community.esri.com/people/ezhatcher"&gt;ezhatcher&lt;/A&gt;&amp;nbsp;, the reason the expression is not returning anything, is since you forgot to include the statement "return rList;" on the last line. However, when you work with a web map you will not get the result you are after.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2020 19:09:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-html-for-popup-with-arcade/m-p/439962#M22222</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-11-05T19:09:58Z</dc:date>
    </item>
  </channel>
</rss>

