<?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: Catching AttachmentInspector Events in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/catching-attachmentinspector-events/m-p/435988#M10155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The AttachmentInspector is calling the attachment methods on the associated FeatureLayer so you can listen for the FeatureLayer's attachment events:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#eventSummary"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#eventSummary&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Feb 2011 16:27:17 GMT</pubDate>
    <dc:creator>DasaPaddock</dc:creator>
    <dc:date>2011-02-07T16:27:17Z</dc:date>
    <item>
      <title>Catching AttachmentInspector Events</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/catching-attachmentinspector-events/m-p/435987#M10154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to listen for events while using AttachmentInspector:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) When an attachment has finished being added/uploaded&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) When an attachment has been deleted&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless I am mistaken, the AttachmentInspector does not seem to dispatch AttachmentEvents like using featureLayer.addAttachment() would. I managed to find a reference to the (undocumented by the way) com.esri.ags.components.supportClasses.AttachmentRemoveEvent which lets me catch when an attachment has been deleted, but I still need something to let me know when one has been added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My reason for this post is that I would prefer to use the AttachmentInspector over coming up with my own method for adding attachments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 13:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/catching-attachmentinspector-events/m-p/435987#M10154</guid>
      <dc:creator>EddieJesinsky</dc:creator>
      <dc:date>2011-02-07T13:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Catching AttachmentInspector Events</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/catching-attachmentinspector-events/m-p/435988#M10155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The AttachmentInspector is calling the attachment methods on the associated FeatureLayer so you can listen for the FeatureLayer's attachment events:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#eventSummary"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#eventSummary&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 16:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/catching-attachmentinspector-events/m-p/435988#M10155</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-02-07T16:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Catching AttachmentInspector Events</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/catching-attachmentinspector-events/m-p/435989#M10156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, it appears I was not listening for the event correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 17:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/catching-attachmentinspector-events/m-p/435989#M10156</guid>
      <dc:creator>EddieJesinsky</dc:creator>
      <dc:date>2011-02-07T17:40:31Z</dc:date>
    </item>
  </channel>
</rss>

