<?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: problem update hosted feature in portal in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1542973#M10706</link>
    <description>&lt;P&gt;What a joke! So much time wasted solving all sorts of non sense issues with the File geodatabase, portal item query and so on and forth, and at the end you discover there there is the final BUG happening since more than a year ago that still hasn't been fixed...for a proprietary file format! unbelievable&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 09:53:11 GMT</pubDate>
    <dc:creator>Iron_Mark</dc:creator>
    <dc:date>2024-09-26T09:53:11Z</dc:date>
    <item>
      <title>problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1258473#M8376</link>
      <description>&lt;P&gt;trying to update hosted feature on&amp;nbsp;&lt;SPAN&gt;ArcGIS Enterprise 10.8.1+ from local GDB&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this is the Exception&lt;BR /&gt;Exception: 'appendUploadFormat' must be one of the following: shapefile, geojson, csv, featureCollection, excel.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in the &lt;A title="append" href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.append" target="_blank" rel="noopener"&gt;API &amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;working with fgdb is option ,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this is the function i use for the update&amp;nbsp; what am i missing ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def append_and_update(agriplots,gdb, url,username,password):
    gis = GIS(url = url, username=username, password=password)
    layer_for_update = FeatureLayer(agriplots,gis)
    print("Uploading File Geodatabase")
    fgd_properties={'title':"Temp GDB deleted at the end", 'tags':'temp file geodatabase', 'type':'File Geodatabase'}
    gdb_item = gis.content.add(item_properties=fgd_properties, data=gdb + ".zip")
    print("updating... ")
    result = layer_for_update.append(item_id=gdb_item.id, upload_format="filegdb",source_table_name='AP_WGS84',return_messages=True)
    print(result)
    delete_result = gdb_item.delete()
    print(delete_result)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 15 Feb 2023 14:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1258473#M8376</guid>
      <dc:creator>OrrGvili</dc:creator>
      <dc:date>2023-02-15T14:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1302005#M8814</link>
      <description>&lt;P&gt;Did you ever find a solution for this?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 14:18:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1302005#M8814</guid>
      <dc:creator>LSaunders</dc:creator>
      <dc:date>2023-06-22T14:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1310572#M8892</link>
      <description>&lt;P&gt;I too am getting this error and I'm using a FGDB. Any help would be appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 16:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1310572#M8892</guid>
      <dc:creator>AnthonyAtkins2</dc:creator>
      <dc:date>2023-07-21T16:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1310679#M8894</link>
      <description>&lt;P&gt;You posted this back in February, so I'm wondering if you found a solution?&amp;nbsp; I haven't "officially" figured out why we are getting this message, but I have a strong hunch.&amp;nbsp; I bet you're logged into Portal as opposed to AGOL, right? I KNOW; why would there be a difference?&amp;nbsp; Well, when I run my script when connected to AGOL, it works perfectly, but when I'm connected to Portal, NOPE!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if someone from ESRI is reading this would you please explain why this is the case?&amp;nbsp; I'm still searching for a Portal solution (Unless you have Big Data and GeoAnalytics, the managed_data append method is out), so if someone knows of one, please let me/us know.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 20:25:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1310679#M8894</guid>
      <dc:creator>AnthonyAtkins2</dc:creator>
      <dc:date>2023-07-21T20:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1310680#M8895</link>
      <description>&lt;P&gt;Portal will only allow me to do it with shapefiles...not great!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 20:29:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1310680#M8895</guid>
      <dc:creator>LSaunders</dc:creator>
      <dc:date>2023-07-21T20:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1324593#M8971</link>
      <description>&lt;P&gt;Any updates on this error? ESRI documentation clearly states that file geodatabases are an acceptable format. We are still running Portal/Server&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;10.9.1. Potentially that is the source of the issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 22:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1324593#M8971</guid>
      <dc:creator>JeredHansenNPS</dc:creator>
      <dc:date>2023-08-31T22:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1330264#M9025</link>
      <description>&lt;P&gt;I am running 11.1 and got this error too&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 17:09:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1330264#M9025</guid>
      <dc:creator>AiminFan1</dc:creator>
      <dc:date>2023-09-19T17:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1347153#M9264</link>
      <description>&lt;P&gt;Exactly the same issue here. ArcGIS enterprise 10.9.1 fails with "filegdb", although the documentation says it should work.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 14:27:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1347153#M9264</guid>
      <dc:creator>MiguelVillafranca</dc:creator>
      <dc:date>2023-11-08T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1392047#M9723</link>
      <description>&lt;P&gt;Hello, sorry for a VERY late reply but we have no idea why this is occurring.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are looking into it and will post a solution here when we have one. In the meantime you can see the supported append formats on a feature layer (both online and enterprise) with:&lt;/P&gt;&lt;P&gt;`feature_layer.properties.supportedAppendFormats`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We don't know why only append formats are being supported on certain feature layers. But this is why you are seeing the error, the format is not supported.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 18:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1392047#M9723</guid>
      <dc:creator>NanaeAubry</dc:creator>
      <dc:date>2024-03-06T18:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1392051#M9724</link>
      <description>&lt;P&gt;We are looking at WHY only certain formats are supported but to see what formats are supported on the feature layer you can see it in the properties:&lt;/P&gt;&lt;P&gt;`feature_layer.properties.supportedAppendFormats`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is more of an Enterprise/Online issue rather than Python API but we will update our error handling on this and also try to understand why.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 18:37:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1392051#M9724</guid>
      <dc:creator>NanaeAubry</dc:creator>
      <dc:date>2024-03-06T18:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1542973#M10706</link>
      <description>&lt;P&gt;What a joke! So much time wasted solving all sorts of non sense issues with the File geodatabase, portal item query and so on and forth, and at the end you discover there there is the final BUG happening since more than a year ago that still hasn't been fixed...for a proprietary file format! unbelievable&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 09:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1542973#M10706</guid>
      <dc:creator>Iron_Mark</dc:creator>
      <dc:date>2024-09-26T09:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem update hosted feature in portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1714188#M11995</link>
      <description>&lt;P&gt;Two years later, working with ArcGIS Enterprise 11.5 and it's still not possible to append data to a hosted feature layer with an uploaded file geo database. My layer supports only the following formats for appending:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;'csv,excel,featureCollection,featureService,geojson,imageCollection,jsonl,pbf,shapefile'&lt;/LI-CODE&gt;&lt;P&gt;Using &lt;EM&gt;arcpy.Append_management&lt;/EM&gt; would work with a local fGDB as source and a hosted feature layer as target. However, this tool is painfully slow (1 minute for appending 2'000 point features). That's why I hoped, uploading first, appending directely on the server afterwards would be faster. I was not expecting, that this is not possible.&lt;/P&gt;&lt;P&gt;We are still looking for a fast and stable aproach to keep our 1000+ feature services up to date in a fully automated process. Working with transfer formats like &lt;EM&gt;csv&lt;/EM&gt; or &lt;EM&gt;geojson&lt;/EM&gt; is not recommended, because they are not preserving the data (e.g. no support for true curves). Currently we are overwriting the whole feature service in case of any slight data changes. However, this is like using a sledgehammer to crack a nut and sometimes, it ends up with a corrupted feature service and an unspecific "&lt;EM&gt;job failed"&lt;/EM&gt; error.&lt;/P&gt;&lt;P&gt;Off topic but somehow related is the fact, that a hosted feature layer is losing every information about its source. This makes it difficult to keep it up to date. We have to maintain a separate data structure to store the mapping beween all feature layers and feature classes. A hidden field for a business key on every layer and every portal item would be nice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2026 12:56:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-update-hosted-feature-in-portal/m-p/1714188#M11995</guid>
      <dc:creator>Adrian</dc:creator>
      <dc:date>2026-07-13T12:56:51Z</dc:date>
    </item>
  </channel>
</rss>

