<?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: Graceful recovery from layer LOAD_ERROR faults in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/graceful-recovery-from-layer-load-error-faults/m-p/205919#M4779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried casting it to a Layer and calling the refresh() method on it. This should reload the Layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2012 21:51:40 GMT</pubDate>
    <dc:creator>AustinDavis</dc:creator>
    <dc:date>2012-07-17T21:51:40Z</dc:date>
    <item>
      <title>Graceful recovery from layer LOAD_ERROR faults</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/graceful-recovery-from-layer-load-error-faults/m-p/205917#M4777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the best way to recover from a LOAD_ERROR fault (on an ArcGISDynamicMapServiceLayer, for instance) involve creating a whole new layer object? Or is there some method on the class that allows one to attempt a reload in-place? A lookover of the API docs lead me to think that there is no way to "reload" a faulted layer in place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're loading a fairly large number of layers and some of our clients are on less-than-ideal internet connections, so occurrences of load faults are higher than I'd like. To address this I'm adding in some more error handling/retry options to more gracefully recover from these instances instead of simply splashing out error messages or removing the layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 15:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/graceful-recovery-from-layer-load-error-faults/m-p/205917#M4777</guid>
      <dc:creator>AndrewLiles</dc:creator>
      <dc:date>2012-07-17T15:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Graceful recovery from layer LOAD_ERROR faults</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/graceful-recovery-from-layer-load-error-faults/m-p/205918#M4778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can cause it to try and reload by changing the url by appending a dummy parameter to it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 21:21:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/graceful-recovery-from-layer-load-error-faults/m-p/205918#M4778</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-07-17T21:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Graceful recovery from layer LOAD_ERROR faults</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/graceful-recovery-from-layer-load-error-faults/m-p/205919#M4779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried casting it to a Layer and calling the refresh() method on it. This should reload the Layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 21:51:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/graceful-recovery-from-layer-load-error-faults/m-p/205919#M4779</guid>
      <dc:creator>AustinDavis</dc:creator>
      <dc:date>2012-07-17T21:51:40Z</dc:date>
    </item>
  </channel>
</rss>

