<?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 Overwrite hosted feature layer collections in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/overwrite-hosted-feature-layer-collections/m-p/1092027#M62171</link>
    <description>&lt;P&gt;Hi there, I just noticed my Jupyter Notebook Python scripts started failing.&amp;nbsp; This is specific to overwriting hosted feature layer collections in AGOL and Portal for ArcGIS.&amp;nbsp; They have worked perfectly fine for the past 6-8 months.&amp;nbsp; I am using a local install of Anaconda and launching Jupyter Notebook via the Anaconda Command Prompt.&amp;nbsp; The error message I'm receiving makes no sense:&lt;/P&gt;&lt;PRE&gt;'FeatureLayerCollection' object has no attribute 'replicas'&lt;/PRE&gt;&lt;P&gt;When I check the Sync Properties of the FeatureLayerCollections I get the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if taxlot_flc.properties.syncEnabled:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; replica_list = taxlots_flc.replicas.get_list()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;len(replica_list)&lt;BR /&gt;else:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; print('Sync Enabled is FALSE.')&lt;/P&gt;&lt;PRE&gt;Sync Enabled is FALSE.&lt;/PRE&gt;&lt;P&gt;I found the following statement, and that is why I am so confused.&amp;nbsp; There is no Sync, yet I get this stupid replica error message&lt;/P&gt;&lt;P&gt;"If the dataset "supports" the sync operation, the replicas helper object allows management and synchronization of replicas&amp;nbsp;for disconnected editing of the feature layer collection."&lt;/P&gt;&lt;P&gt;So, my feature layer collection is&amp;nbsp;&lt;STRONG&gt;not&lt;/STRONG&gt; syn enabled, yet the script throws an error message about replicas.&amp;nbsp; Any thoughts???&lt;/P&gt;</description>
    <pubDate>Tue, 24 Aug 2021 22:42:45 GMT</pubDate>
    <dc:creator>Big-Chill</dc:creator>
    <dc:date>2021-08-24T22:42:45Z</dc:date>
    <item>
      <title>Overwrite hosted feature layer collections</title>
      <link>https://community.esri.com/t5/python-questions/overwrite-hosted-feature-layer-collections/m-p/1092027#M62171</link>
      <description>&lt;P&gt;Hi there, I just noticed my Jupyter Notebook Python scripts started failing.&amp;nbsp; This is specific to overwriting hosted feature layer collections in AGOL and Portal for ArcGIS.&amp;nbsp; They have worked perfectly fine for the past 6-8 months.&amp;nbsp; I am using a local install of Anaconda and launching Jupyter Notebook via the Anaconda Command Prompt.&amp;nbsp; The error message I'm receiving makes no sense:&lt;/P&gt;&lt;PRE&gt;'FeatureLayerCollection' object has no attribute 'replicas'&lt;/PRE&gt;&lt;P&gt;When I check the Sync Properties of the FeatureLayerCollections I get the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if taxlot_flc.properties.syncEnabled:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; replica_list = taxlots_flc.replicas.get_list()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;len(replica_list)&lt;BR /&gt;else:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; print('Sync Enabled is FALSE.')&lt;/P&gt;&lt;PRE&gt;Sync Enabled is FALSE.&lt;/PRE&gt;&lt;P&gt;I found the following statement, and that is why I am so confused.&amp;nbsp; There is no Sync, yet I get this stupid replica error message&lt;/P&gt;&lt;P&gt;"If the dataset "supports" the sync operation, the replicas helper object allows management and synchronization of replicas&amp;nbsp;for disconnected editing of the feature layer collection."&lt;/P&gt;&lt;P&gt;So, my feature layer collection is&amp;nbsp;&lt;STRONG&gt;not&lt;/STRONG&gt; syn enabled, yet the script throws an error message about replicas.&amp;nbsp; Any thoughts???&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 22:42:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwrite-hosted-feature-layer-collections/m-p/1092027#M62171</guid>
      <dc:creator>Big-Chill</dc:creator>
      <dc:date>2021-08-24T22:42:45Z</dc:date>
    </item>
  </channel>
</rss>

