<?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 append CSV data to hosted table in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/append-csv-data-to-hosted-table/m-p/1214182#M7772</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, I have a problem to append the csv data to the hosted table. My script looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;csv_item = gis.content.get('***csv_item_uid***')
analyzed = gis.content.analyze(item="***csv_item_uid***", file_type='csv')
csv_publish_parameters = analyzed['publishParameters']

feature = gis.content.get('***Table_layer_uid***')
table = feature.tables[0]
table.append(item_id='***csv_item_uid***', upload_format='csv', field_mappings=[{"name":"date", "sourceName":"date"},
                                                                                {"name":"person_in","sourceName":"person_in"},
                                                                                {"name":"person_out","sourceName":"person_out"},
                                                                                {"name":"bicycle_in","sourceName":"bicycle_in"},
                                                                                {"name":"bicycle_out","sourceName":"bicycle_out"}], source_info=csv_publish_parameters)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;It finish with "True", but it won't add any data to the table from csv.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 13:50:26 GMT</pubDate>
    <dc:creator>lubhat</dc:creator>
    <dc:date>2022-09-20T13:50:26Z</dc:date>
    <item>
      <title>append CSV data to hosted table</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/append-csv-data-to-hosted-table/m-p/1214182#M7772</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I have a problem to append the csv data to the hosted table. My script looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;csv_item = gis.content.get('***csv_item_uid***')
analyzed = gis.content.analyze(item="***csv_item_uid***", file_type='csv')
csv_publish_parameters = analyzed['publishParameters']

feature = gis.content.get('***Table_layer_uid***')
table = feature.tables[0]
table.append(item_id='***csv_item_uid***', upload_format='csv', field_mappings=[{"name":"date", "sourceName":"date"},
                                                                                {"name":"person_in","sourceName":"person_in"},
                                                                                {"name":"person_out","sourceName":"person_out"},
                                                                                {"name":"bicycle_in","sourceName":"bicycle_in"},
                                                                                {"name":"bicycle_out","sourceName":"bicycle_out"}], source_info=csv_publish_parameters)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;It finish with "True", but it won't add any data to the table from csv.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 13:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/append-csv-data-to-hosted-table/m-p/1214182#M7772</guid>
      <dc:creator>lubhat</dc:creator>
      <dc:date>2022-09-20T13:50:26Z</dc:date>
    </item>
  </channel>
</rss>

