<?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 Use a csv file to append data to a feature layer on AGOL in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/use-a-csv-file-to-append-data-to-a-feature-layer/m-p/1208575#M7697</link>
    <description>&lt;P&gt;I would like to use a CSV file to append data to an existing feature layer on AGOL .&amp;nbsp; I found several sources such as below but I could not figure out how to implement them in my case.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/appending-features/#append-attribute-values-from-a-csv" target="_self"&gt;https://developers.arcgis.com/python/guide/appending-features/#append-attribute-values-from-a-csv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;csv_name = update.csv&lt;/P&gt;&lt;P&gt;Item_id (on AGOL ) = 'f5f917dab40e46d4a83c4a11f8b7b681'&lt;/P&gt;&lt;P&gt;csv_path&amp;nbsp; = 'C:\Test'&lt;/P&gt;&lt;P&gt;Do you have any idea how can I update this feature layer using the append() function?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 23:13:12 GMT</pubDate>
    <dc:creator>Admin_D</dc:creator>
    <dc:date>2022-09-01T23:13:12Z</dc:date>
    <item>
      <title>Use a csv file to append data to a feature layer on AGOL</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/use-a-csv-file-to-append-data-to-a-feature-layer/m-p/1208575#M7697</link>
      <description>&lt;P&gt;I would like to use a CSV file to append data to an existing feature layer on AGOL .&amp;nbsp; I found several sources such as below but I could not figure out how to implement them in my case.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/appending-features/#append-attribute-values-from-a-csv" target="_self"&gt;https://developers.arcgis.com/python/guide/appending-features/#append-attribute-values-from-a-csv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;csv_name = update.csv&lt;/P&gt;&lt;P&gt;Item_id (on AGOL ) = 'f5f917dab40e46d4a83c4a11f8b7b681'&lt;/P&gt;&lt;P&gt;csv_path&amp;nbsp; = 'C:\Test'&lt;/P&gt;&lt;P&gt;Do you have any idea how can I update this feature layer using the append() function?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 23:13:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/use-a-csv-file-to-append-data-to-a-feature-layer/m-p/1208575#M7697</guid>
      <dc:creator>Admin_D</dc:creator>
      <dc:date>2022-09-01T23:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use a csv file to append data to a feature layer on AGOL</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/use-a-csv-file-to-append-data-to-a-feature-layer/m-p/1220198#M7882</link>
      <description>&lt;P&gt;First, you need to connect to your AGOL site, then &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.add" target="_self"&gt;add()&lt;/A&gt;&amp;nbsp; the CSV as an item to AGOL.&lt;/P&gt;&lt;P data-unlink="true"&gt;Then, you can create a Feature layer object using the layer's url, then&amp;nbsp;append()&amp;nbsp; to the feature layer. See&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#featurelayer" target="_blank"&gt;https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#featurelayer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Note: Make sure the field mappings are correct to ensure the append works. If you have example names for the AGOL site and items, I can send a test script for you.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 19:41:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/use-a-csv-file-to-append-data-to-a-feature-layer/m-p/1220198#M7882</guid>
      <dc:creator>Jacob_Helfman</dc:creator>
      <dc:date>2022-10-09T19:41:50Z</dc:date>
    </item>
  </channel>
</rss>

