<?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 HTML Format for clickable hyperlink in popup table in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/html-format-for-clickable-hyperlink-in-popup-table/m-p/1219165#M48224</link>
    <description>&lt;P&gt;Hi all, In AGOL, I've configured a custom popup with attribute expressions and was asked to add websites to the popup, if that info is populated in the attribute table. The website displays as expected, but it's not a clickable link. How might I solve that? My code for my conditional Arcade expression and the HTML formatting for the popup are below along with an image of the popup:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaenaDeMaris_0-1665010642843.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52934i5D1ACB979128C09D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaenaDeMaris_0-1665010642843.png" alt="RaenaDeMaris_0-1665010642843.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//website conditional {expression/expr38}
Iif(IsEmpty(Trim($feature.Website)), "none", "table-row")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;tr style="background-color:#657078;display:{expression/expr38};" valign="top"&amp;gt;
                                                                            &amp;lt;td style="border:1px solid rgb(203, 203, 203);padding:2px;"&amp;gt;
                                                                                &amp;lt;span style="color:#FFFFFF;font-family:Arial;font-size:10px;"&amp;gt;&amp;lt;strong&amp;gt;Waterkeeper Website&amp;lt;/strong&amp;gt;&amp;lt;/span&amp;gt;
                                                                            &amp;lt;/td&amp;gt;
                                                                            &amp;lt;td style="border:1px solid rgb(203, 203, 203);padding:2px;"&amp;gt;
                                                                                &amp;lt;span style="color:#FFFFFF;font-family:Arial;font-size:10px;"&amp;gt;&amp;lt;strong&amp;gt;{Website}&amp;lt;/strong&amp;gt;&amp;lt;/span&amp;gt;
                                                                            &amp;lt;/td&amp;gt;
                                                                        &amp;lt;/tr&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Many thanks for any assistance or insights you can provide.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Oct 2022 22:58:43 GMT</pubDate>
    <dc:creator>RaenaDeMaris</dc:creator>
    <dc:date>2022-10-05T22:58:43Z</dc:date>
    <item>
      <title>HTML Format for clickable hyperlink in popup table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/html-format-for-clickable-hyperlink-in-popup-table/m-p/1219165#M48224</link>
      <description>&lt;P&gt;Hi all, In AGOL, I've configured a custom popup with attribute expressions and was asked to add websites to the popup, if that info is populated in the attribute table. The website displays as expected, but it's not a clickable link. How might I solve that? My code for my conditional Arcade expression and the HTML formatting for the popup are below along with an image of the popup:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaenaDeMaris_0-1665010642843.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52934i5D1ACB979128C09D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaenaDeMaris_0-1665010642843.png" alt="RaenaDeMaris_0-1665010642843.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//website conditional {expression/expr38}
Iif(IsEmpty(Trim($feature.Website)), "none", "table-row")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;tr style="background-color:#657078;display:{expression/expr38};" valign="top"&amp;gt;
                                                                            &amp;lt;td style="border:1px solid rgb(203, 203, 203);padding:2px;"&amp;gt;
                                                                                &amp;lt;span style="color:#FFFFFF;font-family:Arial;font-size:10px;"&amp;gt;&amp;lt;strong&amp;gt;Waterkeeper Website&amp;lt;/strong&amp;gt;&amp;lt;/span&amp;gt;
                                                                            &amp;lt;/td&amp;gt;
                                                                            &amp;lt;td style="border:1px solid rgb(203, 203, 203);padding:2px;"&amp;gt;
                                                                                &amp;lt;span style="color:#FFFFFF;font-family:Arial;font-size:10px;"&amp;gt;&amp;lt;strong&amp;gt;{Website}&amp;lt;/strong&amp;gt;&amp;lt;/span&amp;gt;
                                                                            &amp;lt;/td&amp;gt;
                                                                        &amp;lt;/tr&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Many thanks for any assistance or insights you can provide.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 22:58:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/html-format-for-clickable-hyperlink-in-popup-table/m-p/1219165#M48224</guid>
      <dc:creator>RaenaDeMaris</dc:creator>
      <dc:date>2022-10-05T22:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: HTML Format for clickable hyperlink in popup table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/html-format-for-clickable-hyperlink-in-popup-table/m-p/1219235#M48228</link>
      <description>&lt;LI-CODE lang="markup"&gt;&amp;lt;a href="{Website}" target="_blank"&amp;gt;{Website}&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Oct 2022 07:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/html-format-for-clickable-hyperlink-in-popup-table/m-p/1219235#M48228</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-10-06T07:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: HTML Format for clickable hyperlink in popup table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/html-format-for-clickable-hyperlink-in-popup-table/m-p/1219300#M48231</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;Thank you, that worked (of course). I also realized that I could simply put {Website} in the "URL" parameter in the GUI formatting of the text block. Sometimes I choose the more difficult course. But now I know, so thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 13:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/html-format-for-clickable-hyperlink-in-popup-table/m-p/1219300#M48231</guid>
      <dc:creator>RaenaDeMaris</dc:creator>
      <dc:date>2022-10-06T13:33:00Z</dc:date>
    </item>
  </channel>
</rss>

