<?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: 4.32 - ApplyEdits BUG - When Layer is HIDDEN (Codepen added) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1595768#M86700</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can reproduce the behavior you're describing and will inform you as soon as we have a fix in place. However, I'm curious about why you're using a client-side feature layer in this case. It seems like you're frequently updating features. The &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html" target="_self"&gt;StreamLayer&lt;/A&gt;, on the other hand, is optimized for handling data that updates at a high frequency.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2025 21:54:32 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2025-03-14T21:54:32Z</dc:date>
    <item>
      <title>4.32 - ApplyEdits BUG - When Layer is HIDDEN (Codepen added)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1594708#M86675</link>
      <description>&lt;P&gt;Hi esri developers,&lt;/P&gt;&lt;P&gt;There's a bug with applyEdits when Layer X is hidden. When toggling off a layer -&amp;gt; we send a delete all to ArcGIS Api using &lt;STRONG&gt;applyEdits&lt;/STRONG&gt; with &lt;STRONG&gt;queryFeatures&lt;/STRONG&gt; (all). The delete all functionality is working perfectly when the layer is &lt;U&gt;visible. &lt;/U&gt;However, when the layer is toggled off (visibility = false), the clear all will delete all features in memory (arcgis side) but it does not remove the graphics from the map (rendering). Time between processed in memory and renderer on the map is not correct. (Callback issue)&lt;/P&gt;&lt;P&gt;Added a codepen to reproduce this issue.&lt;BR /&gt;&lt;A href="https://codepen.io/michaelk95/pen/azbLMNK?editors=1000" target="_blank"&gt;https://codepen.io/michaelk95/pen/azbLMNK?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_0-1741787459224.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/127745i9080853A2896AA8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_0-1741787459224.png" alt="michaelkdev_0-1741787459224.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Updates are being mocked and applied (should be visible)&lt;/LI&gt;&lt;LI&gt;When &lt;STRONG&gt;toggling "off"&lt;/STRONG&gt;&amp;nbsp;layer ship (visibility false) =&amp;gt; A &lt;U&gt;clear message&lt;/U&gt; is created (console output)&lt;/LI&gt;&lt;LI&gt;The delete is processed BUT not removed from the map, layer will be hidden&lt;/LI&gt;&lt;LI&gt;When &lt;STRONG&gt;toggling "on"&lt;/STRONG&gt; the layer ship -&amp;gt; a blue rectangle will appear, but arcgis will say there are no features active!&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This is quite a big issue and should be fixed?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gr&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 13:58:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1594708#M86675</guid>
      <dc:creator>michaelpoa</dc:creator>
      <dc:date>2025-03-12T13:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: 4.32 - ApplyEdits BUG - When Layer is HIDDEN (Codepen added)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1595768#M86700</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can reproduce the behavior you're describing and will inform you as soon as we have a fix in place. However, I'm curious about why you're using a client-side feature layer in this case. It seems like you're frequently updating features. The &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html" target="_self"&gt;StreamLayer&lt;/A&gt;, on the other hand, is optimized for handling data that updates at a high frequency.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 21:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1595768#M86700</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2025-03-14T21:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: 4.32 - ApplyEdits BUG - When Layer is HIDDEN (Codepen added)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1596974#M86729</link>
      <description>&lt;P&gt;Thanks for the investigation! We're also using the feature layer for sporadic updates, as I believe it's the perfect fit for these layers. This issue will still occur with them, I assume. In any case, we'll also look into the stream layer for frequently updating features. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 10:27:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1596974#M86729</guid>
      <dc:creator>michaelpoa</dc:creator>
      <dc:date>2025-03-19T10:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: 4.32 - ApplyEdits BUG - When Layer is HIDDEN (Codepen added)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1646307#M87558</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;This issue is addressed at version 4.34. You can test the fix using our&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_self" rel="nofollow noopener noreferrer"&gt;next&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;version. Here is your codepen updated to point to the next version:&amp;nbsp;&lt;A href="https://codepen.io/U_B_U/pen/EaVePpv?editors=1000" target="_blank"&gt;https://codepen.io/U_B_U/pen/EaVePpv?editors=1000&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 23:20:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-32-applyedits-bug-when-layer-is-hidden-codepen/m-p/1646307#M87558</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2025-08-27T23:20:52Z</dc:date>
    </item>
  </channel>
</rss>

