<?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 Popup link with URL that includes parameter from attribute value? in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336503#M401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to configure a popup in a webmap to include a link that consists of a URL with a "replaceable" parameter that comes from an attribute value for the selected feature?&amp;nbsp; For example, given point features with an attribute named "UNIQUEID", how could I define a popup with a link that displays in the popup as "Details" with the underlying URL of something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.mydomain.com/Reports/FacilityDetail.asp?facid=UNIQUEID" rel="nofollow" target="_blank"&gt;http://www.mydomain.com/Reports/FacilityDetail.asp?facid=UNIQUEID&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the user clicks on the "Details" link in the popup, the "UNIQUEID" parameter in the URL would be replaced with the value of the selected feature's UNIQUEID attribute, e.g.,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.mydomain.com/Reports/FacilityDetail.asp?facid=12516" rel="nofollow" target="_blank"&gt;http://www.mydomain.com/Reports/FacilityDetail.asp?facid=12516&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then the updated URL would be opened in a new page in the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm an ArcGIS Online neophyte, and haven't been able to find any documentation that leads me to think this is possible "out-of-the-box".&amp;nbsp; If it's not possible out-of-the-box, can it be done in JavaScript and then the template get shared within the organization?&amp;nbsp; Do you know of any examples for similar functionality?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 14:16:23 GMT</pubDate>
    <dc:creator>GarySinner</dc:creator>
    <dc:date>2014-04-01T14:16:23Z</dc:date>
    <item>
      <title>Popup link with URL that includes parameter from attribute value?</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336503#M401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to configure a popup in a webmap to include a link that consists of a URL with a "replaceable" parameter that comes from an attribute value for the selected feature?&amp;nbsp; For example, given point features with an attribute named "UNIQUEID", how could I define a popup with a link that displays in the popup as "Details" with the underlying URL of something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.mydomain.com/Reports/FacilityDetail.asp?facid=UNIQUEID" rel="nofollow" target="_blank"&gt;http://www.mydomain.com/Reports/FacilityDetail.asp?facid=UNIQUEID&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the user clicks on the "Details" link in the popup, the "UNIQUEID" parameter in the URL would be replaced with the value of the selected feature's UNIQUEID attribute, e.g.,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.mydomain.com/Reports/FacilityDetail.asp?facid=12516" rel="nofollow" target="_blank"&gt;http://www.mydomain.com/Reports/FacilityDetail.asp?facid=12516&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then the updated URL would be opened in a new page in the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm an ArcGIS Online neophyte, and haven't been able to find any documentation that leads me to think this is possible "out-of-the-box".&amp;nbsp; If it's not possible out-of-the-box, can it be done in JavaScript and then the template get shared within the organization?&amp;nbsp; Do you know of any examples for similar functionality?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 14:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336503#M401</guid>
      <dc:creator>GarySinner</dc:creator>
      <dc:date>2014-04-01T14:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Popup link with URL that includes parameter from attribute value?</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336504#M402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After continuing to scour the web for clues, I found this gem from Bernie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2012/10/04/url-parameters-in-pop-ups/"&gt;http://blogs.esri.com/esri/arcgis/2012/10/04/url-parameters-in-pop-ups/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like it should do exactly what I'm after.&amp;nbsp; The world is good.&amp;nbsp; I went through the steps, testing with some public Esri maps and layers.&amp;nbsp; Unfortunately the link that I define in the custom popup doesn't appear to be working. I haven't been able to figure out what I'm doing wrong.&amp;nbsp; The attached doc describes the steps that I took to try to verify that the approach would work for me.&amp;nbsp; I'd appreciate any insights into what I'm doing wrong, any limitations to the approach or known issues that might be the problem, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 02:19:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336504#M402</guid>
      <dc:creator>GarySinner</dc:creator>
      <dc:date>2014-04-02T02:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Popup link with URL that includes parameter from attribute value?</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336505#M403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally figured out my mistake - I was using Internet Explorer 11.&amp;nbsp; Why, why, why?!&amp;nbsp; :mad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Switched to Chrome, followed the exact same workflow, and everything worked great!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 15:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336505#M403</guid>
      <dc:creator>GarySinner</dc:creator>
      <dc:date>2014-04-07T15:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Popup link with URL that includes parameter from attribute value?</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336506#M404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the issue here was that you did not hit the "set" button before clicking on create link.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 22:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/popup-link-with-url-that-includes-parameter-from/m-p/336506#M404</guid>
      <dc:creator>SmittySmith</dc:creator>
      <dc:date>2015-04-15T22:52:34Z</dc:date>
    </item>
  </channel>
</rss>

