<?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: Get Attachments from a Feature Service with Attachments enabled over SSL in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186451#M17333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response. I have seen both of those examples, however the attachment editor loads up all the attachments in a list of links using the dijit. It seems pretty difficult to then access the URL's / attachments at runtime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been trying to pull the attachment list from the widget after a query but the dijit doesnt provide any oncomplete or onupdate events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would you reccommend using the dijit to get the attachments at runtime. As I said before I need to get the images for an image gallery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Graham&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2012 14:29:08 GMT</pubDate>
    <dc:creator>GrahamWhelan</dc:creator>
    <dc:date>2012-07-20T14:29:08Z</dc:date>
    <item>
      <title>Get Attachments from a Feature Service with Attachments enabled over SSL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186449#M17331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm stuck on an issue at the moment trying to get attachments from a secured Feature Service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically what I am trying to do is display attachments associated with a record in the popup in an image gallery. I've been able to build a URL based on results of the query and I am using a XMLHttpRequest to get the JSON of the Attachments page for the record.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer/0/4388173/attachments?f=json&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript103._jsonpCallback"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer/0/4388173/attachments?f=json&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript103._jsonpCallback&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This returns the JSON object containing the attachment info and then if there are images the URL can be modified to append the file names to use them as the src of the images in the image gallery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine on non secured services but when I tried to access our live service which is secured with SSL my request is returning an access denied error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im not sure what is the best practice to get at the attachments but there doesn't seem to be anything in the API for it, unless I'm missing something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else tired to do this and is there a solution? Or is there a better way of doing it that I am missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Graham Whelan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 12:20:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186449#M17331</guid>
      <dc:creator>GrahamWhelan</dc:creator>
      <dc:date>2012-07-20T12:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get Attachments from a Feature Service with Attachments enabled over SSL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186450#M17332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can view attachments via the attachment editor:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/ed_attachments.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/ed_attachments.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the Identity Manager to handle access to secure services:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/widget_identitymanager.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/widget_identitymanager.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 13:39:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186450#M17332</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-07-20T13:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get Attachments from a Feature Service with Attachments enabled over SSL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186451#M17333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response. I have seen both of those examples, however the attachment editor loads up all the attachments in a list of links using the dijit. It seems pretty difficult to then access the URL's / attachments at runtime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been trying to pull the attachment list from the widget after a query but the dijit doesnt provide any oncomplete or onupdate events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would you reccommend using the dijit to get the attachments at runtime. As I said before I need to get the images for an image gallery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Graham&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 14:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186451#M17333</guid>
      <dc:creator>GrahamWhelan</dc:creator>
      <dc:date>2012-07-20T14:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get Attachments from a Feature Service with Attachments enabled over SSL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186452#M17334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Graham,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking to do something similar.&amp;nbsp; I want to display the attachments in a gallery in a dijit.&amp;nbsp; Have you worked this out?&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;Brendan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 16:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186452#M17334</guid>
      <dc:creator>BrendanDwyer</dc:creator>
      <dc:date>2013-02-11T16:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get Attachments from a Feature Service with Attachments enabled over SSL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186453#M17335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;have you looked at the &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;queryAttachmentInfos(objectId, callback, errback) method on the feature layer object?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#queryAttachmentInfos"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#queryAttachmentInfos&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 13:27:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-attachments-from-a-feature-service-with/m-p/186453#M17335</guid>
      <dc:creator>GarthTissington</dc:creator>
      <dc:date>2013-04-30T13:27:45Z</dc:date>
    </item>
  </channel>
</rss>

