<?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: Edits to SDE feature class not showing in jsapi site in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166300#M15443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In IE, does reloading with shift + f5 cause the feature to display?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2012 04:04:50 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2012-02-24T04:04:50Z</dc:date>
    <item>
      <title>Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166297#M15440</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 have several SDE versioned feature classes that will be edited using different clients (ArcMap and a third party mobile application).&amp;nbsp; This data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is accessed throughout the organization using an AGS JSAPI site we have developed.&amp;nbsp; This site is built using dynamic map services and feature map services, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no cached map services.&amp;nbsp; When our operational layers are edited, the changes (adds, deletes) don't appear on our AGS JSAPI site upon its intial load.&amp;nbsp; So, for example,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when the site intially renders a map, a feature that has been deleted outside the application is still visible.&amp;nbsp; However, on any extent change (zoom in/out, pan, etc) the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edited data is rendered correctly (deleted features no longer visible).&amp;nbsp; Refreshing the site in internet explorer, even many hours after the edits were written to the database has no effect (for the intial extent).&amp;nbsp; I've tried restarting the map services with no luck.&amp;nbsp; In addition, I've looked at the map service through the generic JSAPI viewer in the AGS services rest folder, with the same issue (initial extent problemtic, all other extents fine).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anybody has run into a similar issue and can shed some light I would be very grateful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Justin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 13:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166297#M15440</guid>
      <dc:creator>JustinAnderson</dc:creator>
      <dc:date>2012-02-23T13:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166298#M15441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are all apps referencing the same geodatabase version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 18:33:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166298#M15441</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-23T18:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166299#M15442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All applications are working with the same geodatabase version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 00:50:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166299#M15442</guid>
      <dc:creator>JustinAnderson</dc:creator>
      <dc:date>2012-02-24T00:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166300#M15443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In IE, does reloading with shift + f5 cause the feature to display?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 04:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166300#M15443</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-24T04:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166301#M15444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Derek - Thanks for the suggestion. Unfortunately shift - f5 has no effect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 13:56:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166301#M15444</guid>
      <dc:creator>JustinAnderson</dc:creator>
      <dc:date>2012-03-05T13:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166302#M15445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;IE is terrible isn't it? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like, since the initial load is always an identical request, IE is seeing this and caching the return map.&amp;nbsp; When you navigate a new request is created and that is why it updates. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try a couple things to get around this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Randomize you initial extent a few millimeters.&amp;nbsp; User will never notice, but the requests will be unique (terrible but functional)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Check you reverse-proxy/web cache/firewall and set the particular service not to cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Even worse, if all else fails, you could add an dojo.isIE (do some tiny navigate)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry I can't think of better solutions.&amp;nbsp; In fiddler, you should see if the initial map request is drawing new or displaying a cached result.&amp;nbsp; This would confirm the behavior at least.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 15:00:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166302#M15445</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-03-05T15:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166303#M15446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ESRI Support offered some good suggestions that fixed my issue.&amp;nbsp; I just needed to add &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.setDisableClientCaching(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.refresh();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to my dynamic map service and everthing works great. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Justin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 15:51:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166303#M15446</guid>
      <dc:creator>JustinAnderson</dc:creator>
      <dc:date>2012-03-12T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166304#M15447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, is refresh() an undocumented method of ArcGISDynamicMapServiceLayer?&amp;nbsp; it certainly seems to do what it says?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 12:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166304#M15447</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2013-01-17T12:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Edits to SDE feature class not showing in jsapi site</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166305#M15448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have been using refresh since 2.8, i have to be honest though and say i have no idea (or cannot remember) how i stumbled across it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; function refreshTimer()
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; setInterval(function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(electionLayers, function(layer){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.refresh()
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp; }, 30000);
&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a call to refresh the dymanic service looking at SDE data, seems to work fine so far in all browsers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edits-to-sde-feature-class-not-showing-in-jsapi/m-p/166305#M15448</guid>
      <dc:creator>AndyBurns</dc:creator>
      <dc:date>2021-12-11T08:40:31Z</dc:date>
    </item>
  </channel>
</rss>

