<?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: Custom Hyperlink Display in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1526210#M61073</link>
    <description>&lt;P&gt;Thanks for your input, Josh.&amp;nbsp; Unfortunately, I still can't seem to get it to work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, this is the output I'm getting.&amp;nbsp; I just need to change the link text, which you know.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is the current output." style="width: 416px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113326iD1CE17DD1800304B/image-size/large?v=v2&amp;amp;px=999" role="button" title="issueoutput.png" alt="This is the current output." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is the current output.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These are the available attributes of the dataset, of which I only need 5.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="issueb.png" style="width: 601px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113328i38C2A487D212213F/image-size/large?v=v2&amp;amp;px=999" role="button" title="issueb.png" alt="issueb.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I sub in the information as you've recommended, I get an error at line 15:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="issuec.png" style="width: 912px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113329iED801007AB02B020/image-size/large?v=v2&amp;amp;px=999" role="button" title="issuec.png" alt="issuec.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm assuming I'm missing some information for $feature.url.&amp;nbsp; The urls are all listed in the&amp;nbsp;$feature.link.&amp;nbsp; Do I need to create something new in order to get this to work?&amp;nbsp; Because subbing $feature.link for the $feature.url isn't working either.&amp;nbsp; Please advise.&amp;nbsp; Thanks in advance for your help.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2024 22:18:12 GMT</pubDate>
    <dc:creator>EdColeman</dc:creator>
    <dc:date>2024-08-22T22:18:12Z</dc:date>
    <item>
      <title>Custom Hyperlink Display</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1523915#M60958</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;I'm sure there must be a simple explanation for this, but I'm having trouble figuring it out.&amp;nbsp; I have a hosted web layer containing polygons listing a projects name, type, division, status and a hyperlink to the associated project document.&amp;nbsp; However, I've been asked to change default displayed "More info" for the hyperlink to something more descriptive.&lt;/P&gt;&lt;P&gt;I'm new to Arcade and don't know where to look, so I'm turning to the community.&amp;nbsp; Please, if you are able, could someone point me in the right direction?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your time,&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 17:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1523915#M60958</guid>
      <dc:creator>EdColeman</dc:creator>
      <dc:date>2024-08-19T17:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Hyperlink Display</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1523938#M60959</link>
      <description>&lt;P&gt;I haven't used Arcade for pop-ups too much, I have used the text field to customize field organization and hyperlink selection. Here are some snippets of what I have accomplished. With these hyperlinks I can give them any name. You can also stack the regular pop-up with a hyperlink text below. I think adding the text pop-up and adding your hyperlink there and going into the source text to manipulate the title would give you a similar outcome.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-19 133939.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/112795iC76A77D9FE463874/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-08-19 133939.png" alt="Screenshot 2024-08-19 133939.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-19 134837.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/112798i317DB969BEF9F8C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-08-19 134837.png" alt="Screenshot 2024-08-19 134837.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 17:49:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1523938#M60959</guid>
      <dc:creator>Nick_Creedon</dc:creator>
      <dc:date>2024-08-19T17:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Hyperlink Display</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1523997#M60963</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/707148"&gt;@Nick_Creedon&lt;/a&gt;'s solution works for generating a link with whatever text you need inserted into the link.&lt;/P&gt;&lt;P&gt;In order to get the link into a field list popup, you'll need to add an Arcade popup element, like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return {
  type: "fields",
  fieldInfos: [
    { fieldName: "Name" },
    { fieldName: "Type" },
    { fieldName: "Division" },
    { fieldName: "Status" },
    { fieldName: "Link" },
  ],
  attributes: {
		Name: $feature.name,
		Type: $feature.type,
		Division: $feature.division,
		Status: $feature.status,
		Link: `&amp;lt;a href="${$feature.url}"&amp;gt;PROJECT LINK TEXT&amp;lt;/a&amp;gt;`
	}
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Swap in the field names with your own as needed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1724094265937.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/112824i14E8DBCA13B13421/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1724094265937.png" alt="jcarlson_0-1724094265937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 19:04:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1523997#M60963</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-19T19:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Hyperlink Display</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1526210#M61073</link>
      <description>&lt;P&gt;Thanks for your input, Josh.&amp;nbsp; Unfortunately, I still can't seem to get it to work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, this is the output I'm getting.&amp;nbsp; I just need to change the link text, which you know.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is the current output." style="width: 416px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113326iD1CE17DD1800304B/image-size/large?v=v2&amp;amp;px=999" role="button" title="issueoutput.png" alt="This is the current output." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is the current output.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These are the available attributes of the dataset, of which I only need 5.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="issueb.png" style="width: 601px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113328i38C2A487D212213F/image-size/large?v=v2&amp;amp;px=999" role="button" title="issueb.png" alt="issueb.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I sub in the information as you've recommended, I get an error at line 15:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="issuec.png" style="width: 912px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113329iED801007AB02B020/image-size/large?v=v2&amp;amp;px=999" role="button" title="issuec.png" alt="issuec.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm assuming I'm missing some information for $feature.url.&amp;nbsp; The urls are all listed in the&amp;nbsp;$feature.link.&amp;nbsp; Do I need to create something new in order to get this to work?&amp;nbsp; Because subbing $feature.link for the $feature.url isn't working either.&amp;nbsp; Please advise.&amp;nbsp; Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 22:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1526210#M61073</guid>
      <dc:creator>EdColeman</dc:creator>
      <dc:date>2024-08-22T22:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Hyperlink Display</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1526371#M61079</link>
      <description>&lt;P&gt;You'd just replace "$feature.url" with the actual field name, in your case, &lt;STRONG&gt;$feature.link&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Based on your first screenshot, though, it looks like the map is being used in a WebAppBuilder app or the Map Viewer Classic? Those are running on a different JS API, and won't be able to render Arcade popup elements at all.&lt;/P&gt;&lt;P&gt;On the older tools, you're limited to either a single field list, in which the link says "more info", or you have to convert the whole thing to a text element.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 12:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1526371#M61079</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-23T12:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Hyperlink Display</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1526384#M61081</link>
      <description>&lt;P&gt;Wow.&amp;nbsp; That worked.&amp;nbsp; I'm having to deal with data and projects that a former employee created and didn't bother to update.&amp;nbsp; Thank you so much for the help and advice!&amp;nbsp; I will create a new viewer for this one using current tech.&amp;nbsp; I appreciate you taking the time to help me out.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 13:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-hyperlink-display/m-p/1526384#M61081</guid>
      <dc:creator>EdColeman</dc:creator>
      <dc:date>2024-08-23T13:11:44Z</dc:date>
    </item>
  </channel>
</rss>

