<?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: formatting URL in Arcade in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409151#M2749</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/people/leo.ladefian_brookhavenga"&gt;leo.ladefian_brookhavenga&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using "{hyperlink}{parcelid}" (without the quotes) in the URL field of the interface?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2020 06:36:58 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-02-04T06:36:58Z</dc:date>
    <item>
      <title>formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409145#M2743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have&amp;nbsp; two values,&amp;nbsp;$feature.Address , $feature["URL_1"]); I would like the popup window to show the address and when the user clicks on address it goes to the url&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/discussion/$feature[&amp;quot;URL_1&amp;quot;])"&gt;$feature.Address&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 16:18:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409145#M2743</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-27T16:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409146#M2744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; If I'm understanding your question correctly, you don't need Arcade for this. Simply set up the popup as shown in the image below. Put the names of your fields between the { }. You must have the {ADDRESS} part in the popup editor selected before you configure the link properties.&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/415252_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 19:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409146#M2744</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2018-07-26T19:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409147#M2745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Chelsea.&amp;nbsp; It works like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 15:52:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409147#M2745</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-07-27T15:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409148#M2746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you do this in Arcade?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409148#M2746</guid>
      <dc:creator>LeoLadefian3</dc:creator>
      <dc:date>2020-01-28T17:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409149#M2747</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/381808"&gt;Leo Ladefian&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you elaborate about what you want to accomplish and why the solution provided by Chelsea does not work for you? Chelsea showed how you can do this without Arcade and creating Arcade expressions that will just return the field value does not make much sense.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 20:17:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409149#M2747</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-01-28T20:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409150#M2748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not want to create a custom attribute display, all of my data are in fields.&amp;nbsp; I'm not just returning the field value, it's a concatenated value from two fields.&amp;nbsp; One is a hyperlink and the other is a text field.&amp;nbsp; When they are combined with arcade they cease to be a hyperlink in the popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$feature.hyperlink + $feature.parcelid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 15:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409150#M2748</guid>
      <dc:creator>LeoLadefian3</dc:creator>
      <dc:date>2020-02-03T15:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409151#M2749</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/people/leo.ladefian_brookhavenga"&gt;leo.ladefian_brookhavenga&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using "{hyperlink}{parcelid}" (without the quotes) in the URL field of the interface?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 06:36:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409151#M2749</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-04T06:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409152#M2750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/381808"&gt;Leo Ladefian&lt;/A&gt;‌, I tried doing the same thing and it seems to work for me. Let me know where I'm deviating from what you're doing.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Attributes&lt;/STRONG&gt;: (strings)&lt;/P&gt;&lt;P&gt;firstpart = "&lt;A class="jivelink10" href="https://www.google.com/maps/search/?api=1" title="https://www.google.com/maps/search/?api=1"&gt;https://www.google.com/maps/search/?api=1&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;secondpart = "&amp;amp;query=centurylink+field"&lt;/P&gt;&lt;P&gt;custom arcade expression =&amp;nbsp;return $feature.firstpart + $feature.secondpart&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/480236_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;The arcade expression is the highlighted one and is appearing as a link for me in Map Viewer (not beta).&lt;/P&gt;&lt;P&gt;Can you provide an example of attributes you're using? Are you trying to use the Arcade in an app aside from Map Viewer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 13:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409152#M2750</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2020-02-04T13:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409153#M2751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480293_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns as a string&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 21:41:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409153#M2751</guid>
      <dc:creator>LeoLadefian3</dc:creator>
      <dc:date>2020-02-04T21:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: formatting URL in Arcade</title>
      <link>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409154#M2752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a string. "Hyperlink" isn't a field type. Just date, double, integer, string in AGO:&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/manage-data/add-or-delete-fields.htm" title="https://doc.arcgis.com/en/arcgis-online/manage-data/add-or-delete-fields.htm"&gt;Add or delete a field—ArcGIS Online Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may have had it set up to look like a hyperlink in ArcMap, but it is just a text/string field told to display like a hyperlink:&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/map/working-with-layers/using-hyperlinks.htm" title="https://desktop.arcgis.com/en/arcmap/latest/map/working-with-layers/using-hyperlinks.htm"&gt;Using Hyperlinks—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What matters is how apps display that string. How does it appear in the actual popup in AGO?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480334_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 14:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/formatting-url-in-arcade/m-p/409154#M2752</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2020-02-05T14:00:46Z</dc:date>
    </item>
  </channel>
</rss>

