<?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: Create hosted table in AGOL using Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/create-hosted-table-in-agol-using-python/m-p/1140199#M63650</link>
    <description>&lt;P&gt;Well, I think I got it...&amp;nbsp; It seems that I need to set 'locationType' to 'none'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;csv_lyr= csv_item.publish(publish_parameters = {'locationType': 'none', 'name':'my_name'})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 08:19:39 GMT</pubDate>
    <dc:creator>GonzalezMorales</dc:creator>
    <dc:date>2022-02-03T08:19:39Z</dc:date>
    <item>
      <title>Create hosted table in AGOL using Python</title>
      <link>https://community.esri.com/t5/python-questions/create-hosted-table-in-agol-using-python/m-p/1140194#M63648</link>
      <description>&lt;P&gt;Could anyone share a how to publish a hosted table?&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a very basic question from a beginner, but I have not been able to figure this out from the documentation.&lt;/P&gt;&lt;P&gt;I use this to create a feature service:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;csv_file = 'mydir/mytable.csv'
csv_item = gis.content.add(item_properties = {"type": "CSV",
                                   "title" : "My title",
                                   "tags": "tag1, tag2", 
                                   "description" : "My description"},
                           data=csv_file)          

csv_lyr= csv_item.publish()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I create a Hosted Table service instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 07:30:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-hosted-table-in-agol-using-python/m-p/1140194#M63648</guid>
      <dc:creator>GonzalezMorales</dc:creator>
      <dc:date>2022-02-03T07:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create hosted table in AGOL using Python</title>
      <link>https://community.esri.com/t5/python-questions/create-hosted-table-in-agol-using-python/m-p/1140199#M63650</link>
      <description>&lt;P&gt;Well, I think I got it...&amp;nbsp; It seems that I need to set 'locationType' to 'none'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;csv_lyr= csv_item.publish(publish_parameters = {'locationType': 'none', 'name':'my_name'})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 08:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-hosted-table-in-agol-using-python/m-p/1140199#M63650</guid>
      <dc:creator>GonzalezMorales</dc:creator>
      <dc:date>2022-02-03T08:19:39Z</dc:date>
    </item>
  </channel>
</rss>

