<?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: Using Attribute Expressions to Add URL with an A refferer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1602403#M64263</link>
    <description>&lt;P&gt;Thank you! However, when I try that, this is the output I get:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test output.png" style="width: 411px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129403i7829453B62559FAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="test output.png" alt="test output.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test syntax.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129404i5A15D4821EDA7EEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="test syntax.png" alt="test syntax.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2025 16:19:06 GMT</pubDate>
    <dc:creator>MackenzieBetz5</dc:creator>
    <dc:date>2025-04-03T16:19:06Z</dc:date>
    <item>
      <title>Using Attribute Expressions to Add URL with an A refferer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1601996#M64248</link>
      <description>&lt;P&gt;I'm trying to add a URL to a pop up that uses one of the attribute fields as part of the URL. Which I can do with a custom attribute expression using arcade. However, to get it to go to the correct URL I need to include the &amp;lt;a href for the URL, for example, this works:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;A href="https://assessor.stlouiscountymo.gov/realestate/AsmtInfo.aspx?Locator=" target="_blank" rel="noopener"&gt;https://assessor.stlouiscountymo.gov/realestate/AsmtInfo.aspx?Locator=&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;LOCATOR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BUT I need the URL to include the &amp;lt;a&amp;gt; refferer to actually be able to get to the website with the information - this is a security feature of the site to prevent data-scrubbing of our parcels. I would think the syntax for arcade for that would be:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;a href="&lt;A href="https://assessor.stlouiscountymo.gov/realestate/AsmtInfo.aspx?Locator=" target="_blank" rel="noopener"&gt;https://assessor.stlouiscountymo.gov/realestate/AsmtInfo.aspx?Locator=&lt;/A&gt;"+$feature.LOCATOR&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, I get an error that the '&amp;lt;' is an "unexpected token" - what am I doing wrong here? I know I've gotten it to work in the past, but I changed it and did not save, so I don't have my old work. Anybody see an issue with the syntax? How do I get arcade to recognize the HTML anchor? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I'm not an HTML coder AT ALL, so if I'm referring to things wrong, please let me know!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Apr 2025 19:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1601996#M64248</guid>
      <dc:creator>MackenzieBetz5</dc:creator>
      <dc:date>2025-04-02T19:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Expressions to Add URL with an A refferer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1602045#M64251</link>
      <description>&lt;P data-unlink="true"&gt;In your Arcade script use a &lt;A href="https://developers.arcgis.com/arcade/guide/template-literals/" target="_self"&gt;template literal &lt;/A&gt;(string enclosed in backticks) with your feature attribute in a placeholder (the ${} syntax). Your return should look like this:&lt;/P&gt;&lt;PRE&gt;return `&amp;lt;a href="&lt;A href="https://assessor.stlouiscountymo.gov/realestate/AsmtInfo.aspx?Locator=" target="_blank" rel="noopener nofollow noreferrer"&gt;https://assessor.stlouiscountymo.gov/realestate/AsmtInfo.aspx?Locator=${$feature.LOCATOR&lt;/A&gt;}"&amp;gt;Click Here&amp;lt;/a&amp;gt;`&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 21:09:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1602045#M64251</guid>
      <dc:creator>__JackCharde__</dc:creator>
      <dc:date>2025-04-02T21:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Expressions to Add URL with an A refferer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1602403#M64263</link>
      <description>&lt;P&gt;Thank you! However, when I try that, this is the output I get:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test output.png" style="width: 411px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129403i7829453B62559FAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="test output.png" alt="test output.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test syntax.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129404i5A15D4821EDA7EEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="test syntax.png" alt="test syntax.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 16:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1602403#M64263</guid>
      <dc:creator>MackenzieBetz5</dc:creator>
      <dc:date>2025-04-03T16:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Expressions to Add URL with an A refferer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1603023#M64315</link>
      <description>&lt;P&gt;Are you calculating a new/temporary field on this dataset? Are you using a popup with multiple content types? I'm thinking you may need to put this in a text content type so the html renders properly.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 01:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-attribute-expressions-to-add-url-with-an-a/m-p/1603023#M64315</guid>
      <dc:creator>__JackCharde__</dc:creator>
      <dc:date>2025-04-05T01:40:15Z</dc:date>
    </item>
  </channel>
</rss>

