<?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: Hosting PDF's referenced in a JavaScript API application? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hosting-pdf-s-referenced-in-a-javascript-api/m-p/625589#M58377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Janice,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help, I understand it now. Also, I looked at the Skagit Co iMap; that thing is sweet, nice work!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Luk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2014 15:25:41 GMT</pubDate>
    <dc:creator>LucasCotner</dc:creator>
    <dc:date>2014-03-05T15:25:41Z</dc:date>
    <item>
      <title>Hosting PDF's referenced in a JavaScript API application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hosting-pdf-s-referenced-in-a-javascript-api/m-p/625587#M58375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This may seem very basic, but I do not understand how to store and reference PDF's in ArcGIS Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, my JavaScript application's pop-up content is hyperlinked very nicely to PDFs hosted locally on my machine in localhost. What I do not understand is where to put these PDF's once the application goes live and runs through our instance of ArcGIS Server? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 22:13:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hosting-pdf-s-referenced-in-a-javascript-api/m-p/625587#M58375</guid>
      <dc:creator>LucasCotner</dc:creator>
      <dc:date>2014-02-27T22:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hosting PDF's referenced in a JavaScript API application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hosting-pdf-s-referenced-in-a-javascript-api/m-p/625588#M58376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lucas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have our pdfs in a location that is either on the web server or somewhere accessible by the web server. So in my javascript application I have a help document that can be accessed by clicking a menu button which runs window.open(... location to help file ...).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example the location to my help file is : &lt;/SPAN&gt;&lt;A href="http://skagitcounty.net/Apps/Maps/iMap/Help/SkagitCountyiMapHelp.pdf" rel="nofollow noopener noreferrer" target="_blank"&gt;http://skagitcounty.net/Apps/Maps/iMap/Help/SkagitCountyiMapHelp.pdf&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not exactly how I get to it because I use relative paths in my code and am opening an html file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function displayHelp() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp; myWindow = window.open('Help/SkagitCountyiMapHelp.pdf', '', 'target=new');
&amp;nbsp;&amp;nbsp;&amp;nbsp; var myWindow;
&amp;nbsp;&amp;nbsp;&amp;nbsp; try {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myWindow = window.open('/Departments/GIS/imaphelp.htm#', 'iMap Help', 'target=new, scrollbars=yes, toolbar=yes, resizable=yes');
&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (exp) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myWindow = window.open('/Departments/GIS/imaphelp.htm#', '', 'target=new, scrollbars=yes, toolbar=yes, resizable=yes');
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; myWindow.focus();
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Janice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hosting-pdf-s-referenced-in-a-javascript-api/m-p/625588#M58376</guid>
      <dc:creator>JaniceBaird</dc:creator>
      <dc:date>2021-12-12T02:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hosting PDF's referenced in a JavaScript API application?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hosting-pdf-s-referenced-in-a-javascript-api/m-p/625589#M58377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Janice,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help, I understand it now. Also, I looked at the Skagit Co iMap; that thing is sweet, nice work!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Luk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 15:25:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hosting-pdf-s-referenced-in-a-javascript-api/m-p/625589#M58377</guid>
      <dc:creator>LucasCotner</dc:creator>
      <dc:date>2014-03-05T15:25:41Z</dc:date>
    </item>
  </channel>
</rss>

