<?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: Updating a published feature collection via arcgis online notebook in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1065028#M61296</link>
    <description>&lt;P&gt;Hi, thanks for the pointers. Unfortunately my layers object is a nonetype object so I have no layers to refer to.&lt;BR /&gt;&lt;BR /&gt;I created the feature collection as per the instructions/tutorial here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/accessing-and-creating-content/#Importing-data-from-a-pandas-data-frame" target="_blank"&gt;https://developers.arcgis.com/python/guide/accessing-and-creating-content/#Importing-data-from-a-pandas-data-frame&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and it displays successfully in the portal, but I cannot find out a way to either update the feature collection or publish this instead as a feature layer collection which I assume then gives me to the layer.manager functions to use for updating.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 10:30:27 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-06-04T10:30:27Z</dc:date>
    <item>
      <title>Updating a published feature collection via arcgis online notebook</title>
      <link>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1062918#M61260</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to convert an rss feed (with lat/long) to a layer on our portal.&amp;nbsp; I can create the layer via:&lt;/P&gt;&lt;P&gt;rss feed -&amp;gt; spatial data frame -&amp;gt; feature collection -&amp;gt; published feature collection&lt;/P&gt;&lt;P&gt;Currently I can't find any documentation around how to overwrite a feature collection&lt;/P&gt;&lt;P&gt;I have found this tutorial about how to update a feature layer which doesn't work:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/python/sample-notebooks/overwriting-feature-layers/" target="_blank"&gt;https://developers.arcgis.com/python/sample-notebooks/overwriting-feature-layers/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;How can I either overwrite the feature collection or publish my feature collection as a feature layer?&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 16:22:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1062918#M61260</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-05-28T16:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a published feature collection via arcgis online notebook</title>
      <link>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1062971#M61261</link>
      <description>&lt;P&gt;I would use &lt;STRONG&gt;layer.manager.truncate()&lt;/STRONG&gt;, then &lt;STRONG&gt;layer.edit_features(adds=spatialdataframe.spatial.to_featureset())&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 17:13:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1062971#M61261</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-05-28T17:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a published feature collection via arcgis online notebook</title>
      <link>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1065028#M61296</link>
      <description>&lt;P&gt;Hi, thanks for the pointers. Unfortunately my layers object is a nonetype object so I have no layers to refer to.&lt;BR /&gt;&lt;BR /&gt;I created the feature collection as per the instructions/tutorial here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/accessing-and-creating-content/#Importing-data-from-a-pandas-data-frame" target="_blank"&gt;https://developers.arcgis.com/python/guide/accessing-and-creating-content/#Importing-data-from-a-pandas-data-frame&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and it displays successfully in the portal, but I cannot find out a way to either update the feature collection or publish this instead as a feature layer collection which I assume then gives me to the layer.manager functions to use for updating.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 10:30:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1065028#M61296</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-06-04T10:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a published feature collection via arcgis online notebook</title>
      <link>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1065068#M61297</link>
      <description>&lt;P&gt;If that's not working, try &lt;STRONG&gt;tables&lt;/STRONG&gt; instead, in case the layer in question is non-spatial.&lt;/P&gt;&lt;P&gt;When you say it's displaying successfully, what does it look like? You should be able to access individual layers and tables, and their respective manager functions, from an &lt;STRONG&gt;Item&lt;/STRONG&gt;, not just a &lt;STRONG&gt;FeatureLayerCollection&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 12:48:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updating-a-published-feature-collection-via-arcgis/m-p/1065068#M61297</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-06-04T12:48:44Z</dc:date>
    </item>
  </channel>
</rss>

