<?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: REST with Silverlight not displaying data changes in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364735#M9419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This was driving me nuts for a while too - for me the query would work in Chrome and Firefox but not in IE.&amp;nbsp; The trick is that the queryTask needs to have disableclientCache set to true as well:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QueryTask queryTask = new QueryTask(sitesLayerURL + "/" + sitesLayerIndex.ToString());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt; queryTask.DisableClientCaching = true;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.ExecuteCompleted += SitesQueryTask_ExecuteCompleted;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.Failed += QueryTask_Failed;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Dec 2010 17:42:59 GMT</pubDate>
    <dc:creator>MikkelHylden</dc:creator>
    <dc:date>2010-12-23T17:42:59Z</dc:date>
    <item>
      <title>REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364726#M9410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a geodatabase published as rest service through arcserver. After publshing the service, if I do some editing in layers through ArcMap, I do not see the changes made in the base data on silverlight map. I tried to restart the service but no luck. But when I create a new service with the same data, I could easily see the changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, When I try to do some rest query for newly generated objectIDs, I easily get those freshly created geometry objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Just wanted to know, Does REST support this behaviour or am i missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Also, What if I want to get related tables results in through REST query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 May 2010 11:58:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364726#M9410</guid>
      <dc:creator>AnilDhiman</dc:creator>
      <dc:date>2010-05-01T11:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364727#M9411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Might be a browser's cache issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try setting the 'DisableClientCaching' property to true. This adds a timestamp parameter to the request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Dominique&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 08:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364727#M9411</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-05-03T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364728#M9412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't see any changes in my base layer,, which is updated from my real time source. Does REST doesn't show any changes made in base map after publshing the data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 13:39:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364728#M9412</guid>
      <dc:creator>AnilDhiman</dc:creator>
      <dc:date>2010-05-03T13:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364729#M9413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is your base layer a DynamicMapServiceLayer, a TiledMapServiceLayer, a FeatureLayer ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your base layer is TiledMapServiceLayer, it means that the tiles are stored on the server and have to be updated after changing the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Dominique&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 15:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364729#M9413</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-05-03T15:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364730#M9414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Base layer is a AGSDynamiclayer but changes in this layer still doesn't reflect on silverlight viewer even if I restart the service. On the other hand, querying this layer shows me the changed records or geometries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 17:52:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364730#M9414</guid>
      <dc:creator>AnilDhiman</dc:creator>
      <dc:date>2010-05-03T17:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364731#M9415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We had a similar problem with the ArcGIS Flex API. We had to add disableClientCaching to the ArcGISDynamicMapServiceLayer Tag. Then we also had to make sure to clear the local browser client cache and restart the browser.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 17:57:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364731#M9415</guid>
      <dc:creator>EricPaitz</dc:creator>
      <dc:date>2010-05-03T17:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364732#M9416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But if, you want to display a GPS point feature layer being contnously updated from a source. What should be done? can all this be done programmatically?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 07:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364732#M9416</guid>
      <dc:creator>AnilDhiman</dc:creator>
      <dc:date>2010-05-04T07:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364733#M9417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you disable client caching, you don't need to clear the client cache or restart the browser.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 19:01:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364733#M9417</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-05-04T19:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364734#M9418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have published few ArcSDE layers as "Map Service" and trying to visualize it on silverlight App. Normally, when I do some querytask operation, it gives the results as expected. But, if the base layer is changed by source (like GPS), my querytask doesn't work for newly added features. I tried "query Layer" option in REST admin, but no luck. I tried refreshing the Cache but it is still not visible. Is there anything which I am missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is "Map service" is the correct type? or I need to create some Geodata kind of service? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please suggest&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 May 2010 06:18:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364734#M9418</guid>
      <dc:creator>AnilDhiman</dc:creator>
      <dc:date>2010-05-09T06:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364735#M9419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This was driving me nuts for a while too - for me the query would work in Chrome and Firefox but not in IE.&amp;nbsp; The trick is that the queryTask needs to have disableclientCache set to true as well:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QueryTask queryTask = new QueryTask(sitesLayerURL + "/" + sitesLayerIndex.ToString());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt; queryTask.DisableClientCaching = true;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.ExecuteCompleted += SitesQueryTask_ExecuteCompleted;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.Failed += QueryTask_Failed;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 17:42:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364735#M9419</guid>
      <dc:creator>MikkelHylden</dc:creator>
      <dc:date>2010-12-23T17:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: REST with Silverlight not displaying data changes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364736#M9420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This thread is a bit old but I am having a similar issue. Dominique, you said:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Might be a browser's cache issue.&lt;BR /&gt;Try setting the 'DisableClientCaching' property to true. This adds a timestamp parameter to the request.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My issue is that setting DiableClientCaching to true does NOT disable caching of the request that is sent to initialize the service only the request for the image. For example, the user adds the map service layer to the map dynamically. Later is that session something about that map service changes (i.e. another layer was added) so a request is sent (or I try to send a request) to initialize that service and get the LayerInfo array. Problem is the newly added layer is not in the LayerInfo array because the client app just grabs the cached request (verified using Fiddler). This can be avoid by setting Internet Options &amp;gt;&amp;nbsp; Browser History &amp;gt; Check for newer versions of stored pages: to 'Everytime I visit the webpage'; however, this is not an option for many of our clients because they have "locked" machines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my question is how can I &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;really&lt;/SPAN&gt;&lt;SPAN&gt; disable client side caching of an ArcGISDynamicMapServiceLayer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 16:03:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/rest-with-silverlight-not-displaying-data-changes/m-p/364736#M9420</guid>
      <dc:creator>BranonBarrett</dc:creator>
      <dc:date>2011-09-09T16:03:57Z</dc:date>
    </item>
  </channel>
</rss>

