<?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: HTML Popup : How to add a link to a local .pdf in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/html-popup-how-to-add-a-link-to-a-local-pdf/m-p/346284#M2234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Located a working solution&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/105240"&gt;ArcGIS Explorer Desktop Layers &amp;amp;amp; Hyperlink&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link or url attribute field needs to be formatted like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;file:///C:/&lt;/STRONG&gt;Users/testfolder/documents/test2.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the XSL default HTML Popup template the key was the line below:&lt;/P&gt;&lt;P&gt;&amp;lt;xsl:when test="FieldValue[starts-with(., 'file')]"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mbockenhauer, provided a nice example of how it worked.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.arcgis.com/home/item.html?id=81b39307fde04dd99656f3e19e4e0715" title="http://www.arcgis.com/home/item.html?id=81b39307fde04dd99656f3e19e4e0715"&gt;http://www.arcgis.com/home/item.html?id=81b39307fde04dd99656f3e19e4e0715&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2017 02:52:52 GMT</pubDate>
    <dc:creator>BuffaloCoWI</dc:creator>
    <dc:date>2017-02-08T02:52:52Z</dc:date>
    <item>
      <title>HTML Popup : How to add a link to a local .pdf</title>
      <link>https://community.esri.com/t5/developers-questions/html-popup-how-to-add-a-link-to-a-local-pdf/m-p/346283#M2233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does one go about creating links to locally stored .pdf documents using the HTML Popup XSL templates?&lt;/P&gt;&lt;P&gt;We have thousands of .pdf's stored locally and we would like to reference the .pdfs as links when selecting features.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some features would need multiple reference.pdfs links.&lt;/P&gt;&lt;P&gt;In the attribute table I've got a field populated with paths look like this:&amp;nbsp; p:/Zoning/drawings/40.pdf&lt;/P&gt;&lt;P&gt;I've tried inserting " p:/ " into the XSL with no luck.&lt;/P&gt;&lt;P&gt;What's the trick?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/102241"&gt;Links in HTML Pop-ups&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 21:13:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/html-popup-how-to-add-a-link-to-a-local-pdf/m-p/346283#M2233</guid>
      <dc:creator>BuffaloCoWI</dc:creator>
      <dc:date>2017-02-07T21:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: HTML Popup : How to add a link to a local .pdf</title>
      <link>https://community.esri.com/t5/developers-questions/html-popup-how-to-add-a-link-to-a-local-pdf/m-p/346284#M2234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Located a working solution&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/105240"&gt;ArcGIS Explorer Desktop Layers &amp;amp;amp; Hyperlink&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link or url attribute field needs to be formatted like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;file:///C:/&lt;/STRONG&gt;Users/testfolder/documents/test2.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the XSL default HTML Popup template the key was the line below:&lt;/P&gt;&lt;P&gt;&amp;lt;xsl:when test="FieldValue[starts-with(., 'file')]"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mbockenhauer, provided a nice example of how it worked.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.arcgis.com/home/item.html?id=81b39307fde04dd99656f3e19e4e0715" title="http://www.arcgis.com/home/item.html?id=81b39307fde04dd99656f3e19e4e0715"&gt;http://www.arcgis.com/home/item.html?id=81b39307fde04dd99656f3e19e4e0715&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 02:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/html-popup-how-to-add-a-link-to-a-local-pdf/m-p/346284#M2234</guid>
      <dc:creator>BuffaloCoWI</dc:creator>
      <dc:date>2017-02-08T02:52:52Z</dc:date>
    </item>
  </channel>
</rss>

