<?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: Publish HOSTED Feature Layer with Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869404#M4592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That’s what I mean, but when I use item.publish() for a zipped geodatabase, it shows up in the content as just a Feature Layer.  Not a Feature Layer (hosted).  And the settings tab does not have the option to “Allow others to export to different formats”.  So it is not downloadable as a FGDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using item.update() does not throw an error, but does not overwrite the existing dataset with the new.  I will look at your link and try the overwrite() method and report back (though I’m pretty sure I tested this with the same results).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Sep 2017 20:36:39 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-09-01T20:36:39Z</dc:date>
    <item>
      <title>Publish HOSTED Feature Layer with Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869402#M4590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to create/publish a zipped geodatabase to AGOL with python using the .publish() method.&amp;nbsp; However, this does not publish as a HOSTED Layer.&amp;nbsp; I really need it hosted so that it can be downloaded as a geodatabase.&lt;/P&gt;&lt;P&gt;It there a way to publish as a hosted layer using python?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, it would be just as good or better to be able to use the .update() method to update the data source.&amp;nbsp; 'data' does not seem to be one of the types available to that method though...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 18:01:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869402#M4590</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-01T18:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Publish HOSTED Feature Layer with Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869403#M4591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you publish a web layer on ArcGIS Online (AGOL) using the &lt;STRONG&gt;Item.publish()&lt;/STRONG&gt; method,&amp;nbsp;it is always a hosted layer. My guess is you are publishing a hosted feature layer, hence, you can export it layer as a file (geodatabase or shape file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By update, if you want to update the features in the layer, then you can do so either by &lt;A href="https://developers.arcgis.com/python/sample-notebooks/updating-features-in-a-feature-layer/"&gt;editing features individually&lt;/A&gt; or &lt;A href="https://developers.arcgis.com/python/sample-notebooks/overwriting-feature-layers/"&gt;through the overwrite workflow&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you referring to something else when you meant hosted and update?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 20:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869403#M4591</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-01T20:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Publish HOSTED Feature Layer with Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869404#M4592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That’s what I mean, but when I use item.publish() for a zipped geodatabase, it shows up in the content as just a Feature Layer.  Not a Feature Layer (hosted).  And the settings tab does not have the option to “Allow others to export to different formats”.  So it is not downloadable as a FGDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using item.update() does not throw an error, but does not overwrite the existing dataset with the new.  I will look at your link and try the overwrite() method and report back (though I’m pretty sure I tested this with the same results).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 20:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869404#M4592</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-01T20:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Publish HOSTED Feature Layer with Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869405#M4593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I experienced the same problem when using item.update() for an Excel item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/713792-itemupdate-function-returns-false-positive-status"&gt;https://community.esri.com/message/713792-itemupdate-function-returns-false-positive-status&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 20:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-feature-layer-with-python/m-p/869405#M4593</guid>
      <dc:creator>PhilLarkin1</dc:creator>
      <dc:date>2017-09-07T20:33:50Z</dc:date>
    </item>
  </channel>
</rss>

