<?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: Return HTML with Arcade in Pop-Up in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284435#M51832</link>
    <description>&lt;P&gt;Instead of using that script in your &lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_B7B559DA30964877909B95706627B007" target="_self"&gt;Text element&lt;/A&gt;, you'll have to use an &lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_F5CB09E0313A4DA1BD10F18D875FFC3F" target="_self"&gt;Arcade element&lt;/A&gt; to properly render that clickable link. You'll have everything above that in your Text element, the Arcade element for the link, then another Text element for the "Record last processed" information.&lt;/P&gt;</description>
    <pubDate>Mon, 01 May 2023 17:29:08 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2023-05-01T17:29:08Z</dc:date>
    <item>
      <title>Return HTML with Arcade in Pop-Up</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284361#M51821</link>
      <description>&lt;P&gt;I have an arcade attribute expression that generates html.&amp;nbsp; I think I'm returning everything in the appropriate format, but my html is not getting interpreted.&amp;nbsp; What did I miss?&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 15:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284361#M51821</guid>
      <dc:creator>usace_sam_rd3</dc:creator>
      <dc:date>2023-05-01T15:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Return HTML with Arcade in Pop-Up</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284435#M51832</link>
      <description>&lt;P&gt;Instead of using that script in your &lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_B7B559DA30964877909B95706627B007" target="_self"&gt;Text element&lt;/A&gt;, you'll have to use an &lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_F5CB09E0313A4DA1BD10F18D875FFC3F" target="_self"&gt;Arcade element&lt;/A&gt; to properly render that clickable link. You'll have everything above that in your Text element, the Arcade element for the link, then another Text element for the "Record last processed" information.&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 17:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284435#M51832</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-05-01T17:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Return HTML with Arcade in Pop-Up</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284466#M51835</link>
      <description>&lt;P&gt;Ahhh!&amp;nbsp; I didn't even see that as an option!&amp;nbsp; However, I can't seem to get the variables returned.&lt;/P&gt;&lt;P&gt;fact_report &amp;amp; fact_url are variables upstream.&amp;nbsp; Is something missing in the return syntax?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;"text"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;text&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;'&amp;lt;p&amp;gt;${fact_report}&amp;lt;br&amp;gt;&amp;lt;a href="${fact_url}"&amp;gt;Click to learn more&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 01 May 2023 19:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284466#M51835</guid>
      <dc:creator>usace_sam_rd3</dc:creator>
      <dc:date>2023-05-01T19:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Return HTML with Arcade in Pop-Up</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284475#M51836</link>
      <description>&lt;P&gt;Instead of using single quotes, use the back ticks. This is the &lt;A href="https://developers.arcgis.com/arcade/guide/template-literals/" target="_self"&gt;template literal&lt;/A&gt; which allows you to use the "${}" placeholders.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return {
  type : "text",
  text : `&amp;lt;p&amp;gt;${fact_report}&amp;lt;br&amp;gt;&amp;lt;a href="${fact_url}"&amp;gt;Click to learn more&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;`
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 19:27:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/return-html-with-arcade-in-pop-up/m-p/1284475#M51836</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-05-01T19:27:50Z</dc:date>
    </item>
  </channel>
</rss>

