<?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 Update CSV with existing HFS table or FC in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/update-csv-with-existing-hfs-table-or-fc/m-p/1572387#M11057</link>
    <description>&lt;P&gt;I am trying to update a CSV hosted in AGO with a table or feature layer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to export the HFS item as a csv hosted in AGO but when I try to use the code below it does not update the CSV.&amp;nbsp; &amp;nbsp;Any advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;csv = portal_item.export(title="test",export_format="CSV",parameters={"layers":[{"id":9}]})
item = gis.content.get("a5b6f0756f474aaca8f9f159ebd08c1e")
item.update({}, csv)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2025 13:40:25 GMT</pubDate>
    <dc:creator>TL2</dc:creator>
    <dc:date>2025-01-03T13:40:25Z</dc:date>
    <item>
      <title>Update CSV with existing HFS table or FC</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/update-csv-with-existing-hfs-table-or-fc/m-p/1572387#M11057</link>
      <description>&lt;P&gt;I am trying to update a CSV hosted in AGO with a table or feature layer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to export the HFS item as a csv hosted in AGO but when I try to use the code below it does not update the CSV.&amp;nbsp; &amp;nbsp;Any advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;csv = portal_item.export(title="test",export_format="CSV",parameters={"layers":[{"id":9}]})
item = gis.content.get("a5b6f0756f474aaca8f9f159ebd08c1e")
item.update({}, csv)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 13:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/update-csv-with-existing-hfs-table-or-fc/m-p/1572387#M11057</guid>
      <dc:creator>TL2</dc:creator>
      <dc:date>2025-01-03T13:40:25Z</dc:date>
    </item>
  </channel>
</rss>

