<?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: The feature layer graphic dose not get updated in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-layer-graphic-dose-not-get-updated/m-p/1609730#M87055</link>
    <description>&lt;P&gt;Technically yes, but it's not pretty.&amp;nbsp; Despite the workflow being different, the basic problem and its solution are described in &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/queryfeatures-returns-cached-features/m-p/1224288" target="_self"&gt;this thread&lt;/A&gt;.&amp;nbsp; In your workflow, you just want the layer to draw the changes.&amp;nbsp; What makes these similar is that the layer is doing the same kind of query operation seen in that thread in order to retrieve the data and draw it on the map.&amp;nbsp; The only way I know of to alter this workflow and insert a where clause is to use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#RequestInterceptor" target="_self"&gt;RequestInterceptor&lt;/A&gt;.&amp;nbsp; A recent thread involving the use of those is &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-selected-features-using-a-custom-report/m-p/1607814" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Apr 2025 17:43:21 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2025-04-28T17:43:21Z</dc:date>
    <item>
      <title>The feature layer graphic dose not get updated</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-layer-graphic-dose-not-get-updated/m-p/1609636#M87054</link>
      <description>&lt;P class=""&gt;Hey,&lt;/P&gt;&lt;P class=""&gt;I have a FeatureLayer in my map, and it displays polygons. I'm using the &lt;A href="https://developers.arcgis.com/javascript/latest/" target="_blank" rel="noopener"&gt;ArcGIS Maps SDK for JavaScript&lt;/A&gt;&amp;nbsp; to display the map. However, when I change the shape of a polygon in &lt;STRONG&gt;ArcGIS Pro&lt;/STRONG&gt;, the shape gets updated in the service, but it doesn't reflect in the map, unless I clear the browser cache.&lt;/P&gt;&lt;P class=""&gt;Is there a way to force the feature layer to refresh and display the updated geometry in the map without clearing the cache?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 15:27:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-layer-graphic-dose-not-get-updated/m-p/1609636#M87054</guid>
      <dc:creator>JohnZachariassen</dc:creator>
      <dc:date>2025-04-28T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: The feature layer graphic dose not get updated</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-layer-graphic-dose-not-get-updated/m-p/1609730#M87055</link>
      <description>&lt;P&gt;Technically yes, but it's not pretty.&amp;nbsp; Despite the workflow being different, the basic problem and its solution are described in &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/queryfeatures-returns-cached-features/m-p/1224288" target="_self"&gt;this thread&lt;/A&gt;.&amp;nbsp; In your workflow, you just want the layer to draw the changes.&amp;nbsp; What makes these similar is that the layer is doing the same kind of query operation seen in that thread in order to retrieve the data and draw it on the map.&amp;nbsp; The only way I know of to alter this workflow and insert a where clause is to use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#RequestInterceptor" target="_self"&gt;RequestInterceptor&lt;/A&gt;.&amp;nbsp; A recent thread involving the use of those is &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-selected-features-using-a-custom-report/m-p/1607814" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 17:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-layer-graphic-dose-not-get-updated/m-p/1609730#M87055</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2025-04-28T17:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: The feature layer graphic dose not get updated</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-layer-graphic-dose-not-get-updated/m-p/1610280#M87068</link>
      <description>&lt;P&gt;The query was altered to include an equal statement: current_rnd = current_rnd, where current_rnd is a new random number everytime the query is created. And it works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 07:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-layer-graphic-dose-not-get-updated/m-p/1610280#M87068</guid>
      <dc:creator>JohnZachariassen</dc:creator>
      <dc:date>2025-04-30T07:58:04Z</dc:date>
    </item>
  </channel>
</rss>

