<?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: AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing' in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1540189#M61560</link>
    <description>&lt;P&gt;Something in the FME Writer configuration is overwriting the service. It recreates the layer. This is what resets the symbology / layer settings. The same would happen in ArcGIS Pro if you published to overwrite an existing layer.&lt;/P&gt;&lt;P&gt;The fme documentation suggests there are additional parameters on using existing or creating services. It also advises caution with using truncate existing in some contexts.&lt;/P&gt;&lt;P&gt;You will need to review the other parameters and documentation so that the service is not overwritten if it exists already.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 22:06:24 GMT</pubDate>
    <dc:creator>ChristopherCounsell</dc:creator>
    <dc:date>2024-09-18T22:06:24Z</dc:date>
    <item>
      <title>AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1539819#M61554</link>
      <description>&lt;P&gt;In FME Workbench 2023.1, I'm using the ESRI ArcGIS Online Feature Service Writer to update a layer in AGOL with data from a local fGDB. I have the writer configured as per the screenshot below.&lt;/P&gt;&lt;P&gt;After it runs, the layer in AGOL is visible when zoomed all the way out! (This was not previously the case).&lt;/P&gt;&lt;P&gt;So, then I republish the layer in ArcGIS Pro and it fixes the layer so that it now disappears when zoomed out (I could also do this directly in AGOL).&lt;/P&gt;&lt;P&gt;I then change the FME writer to ‘Use Existing’ (and not ‘Truncate Existing’) and re-run the translation.&lt;/P&gt;&lt;P&gt;This time it works without affecting the AGOL layer visibility.&lt;/P&gt;&lt;P&gt;So I change the FME writer back to ‘Truncate Existing’ (and not ‘Use Existing’) and re-run the translation.&lt;/P&gt;&lt;P&gt;It breaks the AGOL layer visibility again!&lt;/P&gt;&lt;P&gt;I plan to use something like this to update many layers, and I cannot have them all visible when zoomed out. It would be a complete mess.&lt;/P&gt;&lt;P&gt;Am I doing something wrong? How can I update the data (including deleting features) without affecting the AGOL layer’s visibility?&lt;/P&gt;&lt;P&gt;(The issue occurs for both 'Insert' and 'Upsert'. I’m using ‘Truncate Existing’ so that if we delete a feature locally, this will cause it to be deleted on AGOL. Perhaps there is a better way to do this? But that would be another question entirely.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-09-18 133735.jpg" style="width: 571px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115353iDE49BC7D75B38456/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-09-18 133735.jpg" alt="Screenshot 2024-09-18 133735.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 00:05:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1539819#M61554</guid>
      <dc:creator>NikSandsTP</dc:creator>
      <dc:date>2024-09-19T00:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1540189#M61560</link>
      <description>&lt;P&gt;Something in the FME Writer configuration is overwriting the service. It recreates the layer. This is what resets the symbology / layer settings. The same would happen in ArcGIS Pro if you published to overwrite an existing layer.&lt;/P&gt;&lt;P&gt;The fme documentation suggests there are additional parameters on using existing or creating services. It also advises caution with using truncate existing in some contexts.&lt;/P&gt;&lt;P&gt;You will need to review the other parameters and documentation so that the service is not overwritten if it exists already.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 22:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1540189#M61560</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-09-18T22:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1540191#M61561</link>
      <description>&lt;P&gt;I'm not 100% convinced that it is overwriting the service because it does not alter the symbology, the labels or the custom (arcade) pop-ups.&lt;/P&gt;&lt;P&gt;(Note that FME cannot send the symbology, labels or pop-ups configuration. It doesn't have access to this. It is only accessing the source data as feature classes from the local database directly and not accessing any layers.)&lt;/P&gt;&lt;P&gt;Here's some other odd behaviour: Although the layer visibility gets reset to display at all zoom-scales, the label visibility remains at the original zoom-scale range as the layer itself originally had. The labels never had any explicit visibility range set - it was just inherited from the layer itself.&lt;/P&gt;&lt;P&gt;The FME writer in this case is not using 'create' or 'overwrite' but is set to 'Use Existing'.&amp;nbsp; Here's what the FME AGOL Feature Service Writer documentation says about 'Truncate Existing':&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Truncate Existing&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- Attempt to remove all the features or attachments in a hosted feature service Layer before writing features. If the Layer does not exist, the translation will fail.&lt;UL&gt;&lt;LI&gt;If the Layer supports truncation, this option supports deleting all features or attachments in a hosted feature service layer.&lt;/LI&gt;&lt;LI&gt;If the Layer does not support truncation (or the operation fails), the writer performs a truncation by reading all feature IDs from the layer, and then making deletion requests in batches according to the advanced writer parameter&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Features Per Request&lt;/SPAN&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There is nothing there that suggests it would be overwriting the hosted feature layer.&amp;nbsp; It explicitly says that it would just remove all the features.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 22:48:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1540191#M61561</guid>
      <dc:creator>NikSandsTP</dc:creator>
      <dc:date>2024-09-19T22:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1540699#M61593</link>
      <description>&lt;P&gt;Huh, it is looking like this is a bug in AGOL.&amp;nbsp; I have just replicated the same behaviour using only ArcGIS Pro.&lt;/P&gt;&lt;P&gt;If (in ArcGIS Pro) I simply run the Truncate tool on the AGOL layer, it resets that layer's visibility to be visible at all zoom scales in AGOL!&amp;nbsp; I then run an Append, to repopulate the data, and it remains visible at all zoom scales.&amp;nbsp; Not good.&lt;/P&gt;&lt;P&gt;I'm going to log this with ESRI support.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 23:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1540699#M61593</guid>
      <dc:creator>NikSandsTP</dc:creator>
      <dc:date>2024-09-19T23:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1676543#M67544</link>
      <description>&lt;P&gt;Hi! I'm not using FME but I am having the same problem with the layer in AGO getting the visibility reset after I use Append to AGO hosted feature layer from ArcGIS Pro. Did you get anywhere with Esri support on this?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 22:21:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1676543#M67544</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-01-07T22:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1676545#M67545</link>
      <description>&lt;P&gt;ESRI created a bug record for this issue:&amp;nbsp;&amp;nbsp;&lt;A href="https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000171689" target="_blank"&gt;Bugs &amp;amp; Enhancements | My Esri&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note that this may not be the same issue that you've described though.&amp;nbsp; For me (and as per the bug), the issue occurred when truncating the layer in AGOL, not when appending to it.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 22:30:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1676545#M67545</guid>
      <dc:creator>GISDataTasPorts</dc:creator>
      <dc:date>2026-01-07T22:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1676547#M67547</link>
      <description>&lt;P&gt;Thank you, I see it's&amp;nbsp;bug 000171689 from your link. I run a Truncate first on the layer and then I append the layer in AGOL.&lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt; I will contact Esri tech support and ask to be added to this bug. Too bad it's been over a year and no movement on it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 22:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1676547#M67547</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-01-07T22:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL layer visibility resets when using FME Feature Service Writer with 'Truncate Existing'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1676548#M67548</link>
      <description>&lt;P&gt;Yes, sounds like what I was doing, and the same result.&amp;nbsp; Rather sad that they've not done anything about it for so long.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 22:42:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-layer-visibility-resets-when-using-fme/m-p/1676548#M67548</guid>
      <dc:creator>GISDataTasPorts</dc:creator>
      <dc:date>2026-01-07T22:42:28Z</dc:date>
    </item>
  </channel>
</rss>

