<?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: FeatureLayerCollectionManager references a missing function in overwrite() in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881146#M5124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Håkon,&lt;/P&gt;&lt;P&gt;I'm getting the same error:&amp;nbsp;'FeatureLayerCollectionManager' object has no attribute '_overwrite_portal'&lt;/P&gt;&lt;P&gt;I'm not sure if our portal install captured the fix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was it in a patch?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2019 19:36:34 GMT</pubDate>
    <dc:creator>deleted-user-Qrnw90viByMg</dc:creator>
    <dc:date>2019-01-09T19:36:34Z</dc:date>
    <item>
      <title>FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881137#M5115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After publishing a hosted service based on a gdb we would like to regulerly update the service using the overwrite functionality in Python API &lt;STRONG&gt;1.4.1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine if the service resides in AGOL, but when trying the same in Portal the API throws an error.&amp;nbsp;Apparently&amp;nbsp;the FeatureLayerCollectionManager calls an unimplemented method: _overwrite_portal.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 12px;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; File "c:\test\overwrite.py", line 19, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _fcoll.manager.overwrite(_data)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\managers.py", line 1030, in overwrite&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return self._overwrite_portal(data=data_file)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;AttributeError: 'FeatureLayerCollectionManager' object has no attribute '_overwrite_portal&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In managers.py this is implemented as this, which also explains the difference between AGOL and Enterprise:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/410583_pastedImage_11.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 17:02:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881137#M5115</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2021-12-12T17:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881138#M5116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/184367"&gt;Håkon Dreyer&lt;/A&gt;‌, thanks for pointing out, I have fixed this bug and will be available in v1.4.2.&lt;/P&gt;&lt;P&gt;Meanwhile, you can safely comment out those two lines (1029, 1030) and overwrite functionality should work for all supported cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 19:06:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881138#M5116</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-05T19:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881139#M5117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/45514"&gt;Atma Mani&lt;/A&gt;‌ , I see you fixed the issue in 1.4.2, but I'm afraid there still might be some unsolved issues when posting to a Portal.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="A traceback" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/411927_snip_20180621210455.png" /&gt;&lt;/P&gt;&lt;P&gt;My testscript runs fine when posting to Online, but fails like this on Enterprise 10.5.1 and 10.6 portals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 19:17:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881139#M5117</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2018-06-21T19:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881140#M5118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - &lt;A href="https://community.esri.com/migrated-users/45514"&gt;Atma Mani&lt;/A&gt;, just tested the aforementioned update bug with the new 1.5 API, but except for the line numbers nothing seems to have changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still works fine with ArcGIS Online.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 07:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881140#M5118</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2018-08-20T07:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881141#M5119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ping &lt;A href="https://community.esri.com/migrated-users/45514"&gt;Atma Mani&lt;/A&gt;, seems the bug lives on, just tested with 1.5 on a 10.6.1 portal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881141#M5119</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2018-10-22T14:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881142#M5120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same problem, 10.6 portal.&amp;nbsp; Does the commenting out lines 1029 and 1030 in managers.py circumnavigate the bug on 10.6 portal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 15:38:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881142#M5120</guid>
      <dc:creator>SeanRedar</dc:creator>
      <dc:date>2018-10-22T15:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881143#M5121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, and no. Removing those lines only fixed the missing function problem, but update of items in portal still fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 08:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881143#M5121</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2018-10-25T08:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881144#M5122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the same thing, commenting out that function results in error further down&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\managers.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;overwrite&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, data_file)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 1094&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;#if related_data_item.update(data=data_file):&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 1095&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;if&lt;/SPAN&gt; related_data_item&lt;SPAN class=""&gt;.&lt;/SPAN&gt;update&lt;SPAN class=""&gt;(&lt;/SPAN&gt;data&lt;SPAN class=""&gt;=&lt;/SPAN&gt;data_file&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&amp;gt; 1096&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;published_item &lt;SPAN class=""&gt;=&lt;/SPAN&gt; related_data_item&lt;SPAN class=""&gt;.&lt;/SPAN&gt;publish&lt;SPAN class=""&gt;(&lt;/SPAN&gt;publish_parameters&lt;SPAN class=""&gt;,&lt;/SPAN&gt; overwrite&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;True&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 1097&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;if&lt;/SPAN&gt; published_item &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 1098&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;return&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;SPAN class=""&gt;'success'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;True&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;publish&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, publish_parameters, address_fields, output_type, overwrite, file_type, build_initial_cache)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 6375&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;return&lt;/SPAN&gt; Item&lt;SPAN class=""&gt;(&lt;/SPAN&gt;self&lt;SPAN class=""&gt;.&lt;/SPAN&gt;_gis&lt;SPAN class=""&gt;,&lt;/SPAN&gt; ret&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;'serviceItemId'&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 6376&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;else&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&amp;gt; 6377&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;serviceitem_id &lt;SPAN class=""&gt;=&lt;/SPAN&gt; self&lt;SPAN class=""&gt;.&lt;/SPAN&gt;_check_publish_status&lt;SPAN class=""&gt;(&lt;/SPAN&gt;ret&lt;SPAN class=""&gt;,&lt;/SPAN&gt; folder&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 6378&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;return&lt;/SPAN&gt; Item&lt;SPAN class=""&gt;(&lt;/SPAN&gt;self&lt;SPAN class=""&gt;.&lt;/SPAN&gt;_gis&lt;SPAN class=""&gt;,&lt;/SPAN&gt; serviceitem_id&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 6379&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;_check_publish_status&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, ret, folder)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 6609&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;#print(str(job_response))&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 6610&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;if&lt;/SPAN&gt; job_response&lt;SPAN class=""&gt;.&lt;/SPAN&gt;get&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt; &lt;SPAN class=""&gt;in&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"esriJobFailed"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"failed"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&amp;gt; 6611&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;raise&lt;/SPAN&gt; Exception&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Job failed."&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 6612&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;elif&lt;/SPAN&gt; job_response&lt;SPAN class=""&gt;.&lt;/SPAN&gt;get&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt; &lt;SPAN class=""&gt;==&lt;/SPAN&gt; &lt;SPAN class=""&gt;"esriJobCancelled"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; 6613&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;raise&lt;/SPAN&gt; Exception&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Job cancelled."&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;Exception&lt;/SPAN&gt;: Job failed.&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 15:06:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881144#M5122</guid>
      <dc:creator>SeanRedar</dc:creator>
      <dc:date>2018-10-25T15:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881145#M5123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally fixed with 1.5.1. and 10.6.1 portal &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 21:14:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881145#M5123</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2018-11-19T21:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881146#M5124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Håkon,&lt;/P&gt;&lt;P&gt;I'm getting the same error:&amp;nbsp;'FeatureLayerCollectionManager' object has no attribute '_overwrite_portal'&lt;/P&gt;&lt;P&gt;I'm not sure if our portal install captured the fix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was it in a patch?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 19:36:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881146#M5124</guid>
      <dc:creator>deleted-user-Qrnw90viByMg</dc:creator>
      <dc:date>2019-01-09T19:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881147#M5125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Craig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it was a bug in the 1.4.1 ArcGIS Python API. The missing function was fixed in 1.4.2, but additional bugs made the functionality unusable until 1.5.1.&lt;/P&gt;&lt;P&gt;Have you updated the ArcGIS API to the latest version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 07:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881147#M5125</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2019-01-10T07:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881148#M5126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Håkon,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I had not done that. I didn't realize the API doesn't get updated when ArcGIS Pro gets updated, or that I had to do it manually.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I took your suggestion, and it's working now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 20:48:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881148#M5126</guid>
      <dc:creator>deleted-user-Qrnw90viByMg</dc:creator>
      <dc:date>2019-01-10T20:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881149#M5127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/184367"&gt;Håkon Dreyer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spoke too soon.&amp;nbsp; My errors went away, but I'm not seeing any updates in the portal layer. The feature count stays the same, and the dates don't change.&amp;nbsp; I do, now, have the latest version of the API installed, but is there anything else? Is there a patch for Portal or Datastore I need to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 20:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881149#M5127</guid>
      <dc:creator>deleted-user-Qrnw90viByMg</dc:creator>
      <dc:date>2019-01-17T20:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881150#M5128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Too bad, but don't think there are any specific patches needed. I just tested the API 1.5.2 on an unpatched 10.6 Portal and it worked nicely. Could you share your code or tell a bit more about your scenario?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 08:08:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881150#M5128</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2019-01-21T08:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881151#M5129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/184367" target="_blank"&gt;Håkon&lt;/A&gt;- thanks for responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if I'm missing something in the script, then. Here's what I have:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
from arcgis.gis import GIS,Item,User
from arcgis.features import FeatureLayer Collection
from datetime import datetime as dt
import os,getpass

s_time=dt.now()
print('Started at: ' + str(s_time))

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; gis=GIS('https://portal.myportal.org/portal',username='gisadmin',password='mypassword')
&amp;nbsp;&amp;nbsp;&amp;nbsp; user=User(gis,'gisadmin',None)
&amp;nbsp;&amp;nbsp;&amp;nbsp; for item in user.items():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if item['title'] == 'Feature service overwrite test':
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if item['type'] == 'Feature Service':
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; my_item = item
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print("overwriting '{0}'".format(my_item['title']))
&amp;nbsp;&amp;nbsp;&amp;nbsp; my_flayer_collection = FeatureLayerCollection.fromitem(my_item)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; update_src = 'C:\\Users\\' + getpass.getuser() + '\\Documents\\ArcGIS\\overwrite_test.gdb\\overwrite_data'
&amp;nbsp;&amp;nbsp;&amp;nbsp; my_flayer_collection.manager.overwrite(update_src)

&amp;nbsp;&amp;nbsp;&amp;nbsp; f_time=dt.now()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print('successfully updated {0} at {1}'.format(my_item['title'],str(f_time)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; print('time elapsed: ' + str(f_time-s_time))

except Exception:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print(str(sys.exc_info()[1]))&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help with this! Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 17:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881151#M5129</guid>
      <dc:creator>deleted-user-Qrnw90viByMg</dc:creator>
      <dc:date>2021-12-12T17:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881152#M5130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Hi, Craig&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;finally had a look at your code. My guess is that your problem is the update_src.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; update_src = 'C:\\Users\\' + getpass.getuser() + '\\Documents\\ArcGIS\\overwrite_test.gdb\\overwrite_data'&lt;/SPAN&gt;&lt;BR style="background-color: transparent; color: #3d3d3d; font-family: monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;" /&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; my_flayer_collection.manager.overwrite(update_src)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;The overwrite function expects a zipped geodatabase, not a feature class, so try zipping the gdb.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 07:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881152#M5130</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2019-01-31T07:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881153#M5131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Håkon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gave that a try, but this time I got a "Job failed" message. The geodatabase I zipped only contains&amp;nbsp;a single feature class, and it exactly matches the feature service I'm trying to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything special I need to do with the geodatabase, or any other ideas? I appreciate your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 17:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881153#M5131</guid>
      <dc:creator>deleted-user-Qrnw90viByMg</dc:creator>
      <dc:date>2019-02-01T17:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881154#M5132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, hard to tell what causes the problem. If it may be to any help I've uploaded my test script and two tiny gdb's&amp;nbsp;&lt;A href="https://geodata.maps.arcgis.com/home/item.html?id=21c664fdbc114752b6244d5ab44def78"&gt;here&lt;/A&gt;. Just unpack the zip and edit Portal and Path info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 15:27:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881154#M5132</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2019-02-04T15:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollectionManager references a missing function in overwrite()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881155#M5133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/184367"&gt;Håkon Dreyer&lt;/A&gt;&amp;nbsp;- thanks..&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I was trying these solutions, I was simultaneously working with ESRI Support, and we came up with a different workflow which publishes a new SD file.&amp;nbsp; That is working well, so I won't need to pursue this solution, though it appears it would be a simpler script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollectionmanager-references-a-missing/m-p/881155#M5133</guid>
      <dc:creator>deleted-user-Qrnw90viByMg</dc:creator>
      <dc:date>2019-02-07T20:40:51Z</dc:date>
    </item>
  </channel>
</rss>

