<?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 To get a pdf file stored in d drive of the server related to the selected feature. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/to-get-a-pdf-file-stored-in-d-drive-of-the-server/m-p/280402#M25895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Everyone&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know if I can show a pdf file that is stored in the d drive of the server on click of the grid cell that is containing data related to a feature selected from the map. If possible how should be the link given for the required pdf file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 May 2013 05:33:18 GMT</pubDate>
    <dc:creator>VishakhaDubey</dc:creator>
    <dc:date>2013-05-04T05:33:18Z</dc:date>
    <item>
      <title>To get a pdf file stored in d drive of the server related to the selected feature.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/to-get-a-pdf-file-stored-in-d-drive-of-the-server/m-p/280402#M25895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Everyone&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know if I can show a pdf file that is stored in the d drive of the server on click of the grid cell that is containing data related to a feature selected from the map. If possible how should be the link given for the required pdf file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 May 2013 05:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/to-get-a-pdf-file-stored-in-d-drive-of-the-server/m-p/280402#M25895</guid>
      <dc:creator>VishakhaDubey</dc:creator>
      <dc:date>2013-05-04T05:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: To get a pdf file stored in d drive of the server related to the selected feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/to-get-a-pdf-file-stored-in-d-drive-of-the-server/m-p/280403#M25896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the PDF files would need to be served out via HTTP. You can set up the directory on the server that contains the PDF files to be a web site. (E.g., in IIS you would create a "Virtual Directory" pointing to the folder with the PDFs.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 15:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/to-get-a-pdf-file-stored-in-d-drive-of-the-server/m-p/280403#M25896</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2013-05-06T15:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: To get a pdf file stored in d drive of the server related to the selected feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/to-get-a-pdf-file-stored-in-d-drive-of-the-server/m-p/280404#M25897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can keep the PDF on the server location and create a Virtual Directory for the same. And you can create handler that fetches the pdf URL from server and returns URL to server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose you need to fetch PDF based on object id of feature and your handler is WebHandler.ashx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Use dojo.xhrPost to make a call to Handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If PDF is stored with object id then just append the ObjectId to URL of PDF folder or write your logic in handler to fetch the PDF based on objectId/ or some other field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Return the url from handler and catch the result in xhrPOST.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the use of handle you can also end the response and prompt the user with download dialog by setting the Response header and ending the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vinay Bansal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 05:36:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/to-get-a-pdf-file-stored-in-d-drive-of-the-server/m-p/280404#M25897</guid>
      <dc:creator>VinayBansal</dc:creator>
      <dc:date>2013-05-08T05:36:59Z</dc:date>
    </item>
  </channel>
</rss>

