<?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: Feature service does not update after feature is deleted/attributes updated in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/feature-service-does-not-update-after-feature-is/m-p/601674#M13388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The application does not know that the data behind the feature layer has been updated.&amp;nbsp; You can refresh it (too re-grab the data) by using the refresh method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#methodSummary"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#methodSummary&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2011 19:47:52 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2011-05-20T19:47:52Z</dc:date>
    <item>
      <title>Feature service does not update after feature is deleted/attributes updated</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/feature-service-does-not-update-after-feature-is/m-p/601673#M13387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using Flex 2.2 and I'm having an issue where a feature service in the web application will not update after a delete or attribute change has occurred.&amp;nbsp; If a feature is added, the feature service will update correctly in the web application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, I open a flex app with a feature service.&amp;nbsp; I have the same feature service being consumed on my mobile device using ArcGIS Mobile.&amp;nbsp; I'll collect a feature using ArcGIS Mobile and then post the edit back to database.&amp;nbsp; Next I pan/zoom around the flex app and the feature service updates dynamically and I can see the feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I delete a feature or update attributes of an existing feature using ArcGIS Mobile, post changes back to database, and then pan/zoom around the changes are not reflected.&amp;nbsp; I have to refresh the entire flex app.&amp;nbsp; After doing so the changes are reflected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same happens no matter which client I'm using to update the service.&amp;nbsp; For example if I make a delete/update to the feature class in ArcMap I have to refresh the flex app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried setting 'mode' equal to 'onDemand' in the config file, but this did not make a difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone experienced this?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 19:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/feature-service-does-not-update-after-feature-is/m-p/601673#M13387</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2011-05-20T19:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Feature service does not update after feature is deleted/attributes updated</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/feature-service-does-not-update-after-feature-is/m-p/601674#M13388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The application does not know that the data behind the feature layer has been updated.&amp;nbsp; You can refresh it (too re-grab the data) by using the refresh method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#methodSummary"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#methodSummary&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 19:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/feature-service-does-not-update-after-feature-is/m-p/601674#M13388</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-05-20T19:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Feature service does not update after feature is deleted/attributes updated</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/feature-service-does-not-update-after-feature-is/m-p/601675#M13389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The application does not know that the data behind the feature layer has been updated.&amp;nbsp; You can refresh it (too re-grab the data) by using the refresh method:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#methodSummary"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#methodSummary&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having the same issue, I tried using refresh and that doesnt work. I have to refresh the page to see the edits. I am also using a definition query on the featurelayer so I am not sure if that has anything to do with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 18:45:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/feature-service-does-not-update-after-feature-is/m-p/601675#M13389</guid>
      <dc:creator>PremRadhakrishnan</dc:creator>
      <dc:date>2011-05-27T18:45:58Z</dc:date>
    </item>
  </channel>
</rss>

