<?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: Arcade Validate URL in Popup in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-validate-url-in-popup/m-p/347440#M17415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there isn't really a way to do this with Arcade language, as this language is primarily used for controlling the way GIS features are rendered and labeled, rather than interacting with hyperlinked content. A list of the current available Arcade functions can be found below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Arcade Function Index&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/"&gt;https://developers.arcgis.com/arcade/function-reference/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't really any available out-of-the-box functionality for validating URLs within an ArcGIS Online popup at this time. For a workflow like this, it may be more worthwhile to explore a workflow that involves exporting the table containing the applicant URLs from your webmap data, and running the URLs through a status checker website like the one linked below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bulk URL status code checker:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://httpstatus.io/"&gt;https://httpstatus.io/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information helps!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-TB&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Aug 2019 16:44:45 GMT</pubDate>
    <dc:creator>TylerBurns</dc:creator>
    <dc:date>2019-08-02T16:44:45Z</dc:date>
    <item>
      <title>Arcade Validate URL in Popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-validate-url-in-popup/m-p/347439#M17414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a planning cases Operations Dashboard.&amp;nbsp; &amp;nbsp; On the ArcGIS Online Popup there is a link to the Applicant's Submittal.&amp;nbsp; &amp;nbsp; Most of the planning cases have an associated PDF, but not all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to validate that a URL has content and does not give a 404 error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be done in an ArcGIS Online popup with Arcade and/or another method?&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;Mele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 15:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-validate-url-in-popup/m-p/347439#M17414</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2019-08-02T15:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Validate URL in Popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-validate-url-in-popup/m-p/347440#M17415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there isn't really a way to do this with Arcade language, as this language is primarily used for controlling the way GIS features are rendered and labeled, rather than interacting with hyperlinked content. A list of the current available Arcade functions can be found below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Arcade Function Index&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/"&gt;https://developers.arcgis.com/arcade/function-reference/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't really any available out-of-the-box functionality for validating URLs within an ArcGIS Online popup at this time. For a workflow like this, it may be more worthwhile to explore a workflow that involves exporting the table containing the applicant URLs from your webmap data, and running the URLs through a status checker website like the one linked below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bulk URL status code checker:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://httpstatus.io/"&gt;https://httpstatus.io/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information helps!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-TB&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 16:44:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-validate-url-in-popup/m-p/347440#M17415</guid>
      <dc:creator>TylerBurns</dc:creator>
      <dc:date>2019-08-02T16:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Validate URL in Popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-validate-url-in-popup/m-p/347441#M17416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tyler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for confirming this.&amp;nbsp; &amp;nbsp;I was not able to find any examples, so I see why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did use a similar approach as you suggested.&amp;nbsp; I created a .NET program which validates a URL in our Enterprise Geodatabase Feature Class and updates a field if the URL is valid.&amp;nbsp; &amp;nbsp;I am then using that field in Arcade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 15:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-validate-url-in-popup/m-p/347441#M17416</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2019-08-07T15:53:46Z</dc:date>
    </item>
  </channel>
</rss>

