<?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 query on FeatureLayer&amp;nbsp; and flex caching ? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-on-featurelayer-nbsp-and-flex-caching/m-p/74419#M1700</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 did an update operation on a featureLayer but when I tried a query operation on this feature layer I did not see any of my modifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However using REST API and a query operation on the feature layer (for example : &lt;/SPAN&gt;&lt;A href="http://myComputer/arcgis/rest/service/MyFeatureLayer/FeatureServer/1/query"&gt;http://myComputer/arcgis/rest/service/MyFeatureLayer/FeatureServer/1/query&lt;/A&gt;&lt;SPAN&gt;) I can see all my modifications. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to reload the flexviewer&amp;nbsp; to see my modifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to refresh featureLayer using refresh method. I disabled flex caching on my featureLayer(disableClientCaching = true). I even remove and re-add featureLayer on the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used all different mode (FeatureLayer.MODE_ON_DEMAND, snapshots, onSelection).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What have I to do to see my modifications on my featureLayer without reloading the flexviewer ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2011 15:03:42 GMT</pubDate>
    <dc:creator>SylvainKerdreux</dc:creator>
    <dc:date>2011-03-07T15:03:42Z</dc:date>
    <item>
      <title>query on FeatureLayer  and flex caching ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-on-featurelayer-nbsp-and-flex-caching/m-p/74419#M1700</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 did an update operation on a featureLayer but when I tried a query operation on this feature layer I did not see any of my modifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However using REST API and a query operation on the feature layer (for example : &lt;/SPAN&gt;&lt;A href="http://myComputer/arcgis/rest/service/MyFeatureLayer/FeatureServer/1/query"&gt;http://myComputer/arcgis/rest/service/MyFeatureLayer/FeatureServer/1/query&lt;/A&gt;&lt;SPAN&gt;) I can see all my modifications. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to reload the flexviewer&amp;nbsp; to see my modifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to refresh featureLayer using refresh method. I disabled flex caching on my featureLayer(disableClientCaching = true). I even remove and re-add featureLayer on the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used all different mode (FeatureLayer.MODE_ON_DEMAND, snapshots, onSelection).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What have I to do to see my modifications on my featureLayer without reloading the flexviewer ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 15:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-on-featurelayer-nbsp-and-flex-caching/m-p/74419#M1700</guid>
      <dc:creator>SylvainKerdreux</dc:creator>
      <dc:date>2011-03-07T15:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: query on FeatureLayer  and flex caching ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-on-featurelayer-nbsp-and-flex-caching/m-p/74420#M1701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I am experiencing the same issue described below. After applying a definitionExpression to a feature layer, I am unable to refresh it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;var CoverageLayer::FeatureLayer = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://servername/arcgis/rest/coverage/mapserver/1" rel="nofollow" target="_blank"&gt;http://servername/arcgis/rest/coverage/mapserver/1&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var queryExpression:String = "ID like '%BT%'";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CoverageLayer.definitionExpression = queryExpression;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CoverageLayer.disableClientCaching = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CoverageLayer.refresh();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas anyone???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I did an update operation on a featureLayer but when I tried a query operation on this feature layer I did not see any of my modifications.&lt;BR /&gt;However using REST API and a query operation on the feature layer (for example : &lt;A href="http://myComputer/arcgis/rest/service/MyFeatureLayer/FeatureServer/1/query"&gt;http://myComputer/arcgis/rest/service/MyFeatureLayer/FeatureServer/1/query&lt;/A&gt;) I can see all my modifications. &lt;BR /&gt;&lt;BR /&gt;I need to reload the flexviewer&amp;nbsp; to see my modifications.&lt;BR /&gt;I tried to refresh featureLayer using refresh method. I disabled flex caching on my featureLayer(disableClientCaching = true). I even remove and re-add featureLayer on the map. &lt;BR /&gt;I used all different mode (FeatureLayer.MODE_ON_DEMAND, snapshots, onSelection).&lt;BR /&gt;&lt;BR /&gt;What have I to do to see my modifications on my featureLayer without reloading the flexviewer ?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 08:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-on-featurelayer-nbsp-and-flex-caching/m-p/74420#M1701</guid>
      <dc:creator>RavinHasseea</dc:creator>
      <dc:date>2011-10-24T08:10:59Z</dc:date>
    </item>
  </channel>
</rss>

