<?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: Overwrite a hosted file WITHOUT a feature service in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwrite-a-hosted-file-without-a-feature-service/m-p/1004255#M10200</link>
    <description>&lt;P&gt;Thank you, Calvin!&amp;nbsp; That's exactly what I was looking for.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 13:16:39 GMT</pubDate>
    <dc:creator>DavidDodds2</dc:creator>
    <dc:date>2020-11-24T13:16:39Z</dc:date>
    <item>
      <title>Overwrite a hosted file WITHOUT a feature service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwrite-a-hosted-file-without-a-feature-service/m-p/1004143#M10195</link>
      <description>&lt;P&gt;I have a csv that is hosted on our portal.&amp;nbsp; The csv does NOT have an associated feature service of any kind.&amp;nbsp; Looking through the documentation, I see methods for overwriting the feature service (&lt;A href="https://developers.arcgis.com/python/sample-notebooks/overwriting-feature-layers/" target="_blank" rel="noopener"&gt;Overwriting feature layers | ArcGIS for Developers&lt;/A&gt;) but if the file doesn't have a feature layer, I can't seem to make it work.&lt;/P&gt;&lt;P&gt;Can anyone please direct me to the documentation or have a Python example of updating a hosted file only?&lt;/P&gt;&lt;P&gt;I guess I can create a feature layer as a last resort, but I don't have any other need for one.&amp;nbsp; I only want to update the CSV file so users can download the latest version of the file.&amp;nbsp; The purpose is to share the file, not a service.&lt;/P&gt;&lt;P&gt;I'm looking for the Python equivalent of using the Update button.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UpdateButton1.JPG" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/856i60109402D974F200/image-size/small?v=v2&amp;amp;px=200" role="button" title="UpdateButton1.JPG" alt="UpdateButton1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UpdateButton.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/853iCA868F64C2C59E00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UpdateButton.JPG" alt="UpdateButton.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 21:50:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwrite-a-hosted-file-without-a-feature-service/m-p/1004143#M10195</guid>
      <dc:creator>DavidDodds2</dc:creator>
      <dc:date>2020-11-23T21:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite a hosted file WITHOUT a feature service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwrite-a-hosted-file-without-a-feature-service/m-p/1004185#M10198</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;Have you tried using the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=item%20update#arcgis.gis.Item.update" target="_self"&gt;arcgis.gis.Item.update&lt;/A&gt; method?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;myItem=arcgis.gis.Item(itemid="abc123")&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;myItem.update(data=r"/path/to/my.csv")&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Calvin&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 01:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwrite-a-hosted-file-without-a-feature-service/m-p/1004185#M10198</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-24T01:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite a hosted file WITHOUT a feature service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwrite-a-hosted-file-without-a-feature-service/m-p/1004255#M10200</link>
      <description>&lt;P&gt;Thank you, Calvin!&amp;nbsp; That's exactly what I was looking for.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwrite-a-hosted-file-without-a-feature-service/m-p/1004255#M10200</guid>
      <dc:creator>DavidDodds2</dc:creator>
      <dc:date>2020-11-24T13:16:39Z</dc:date>
    </item>
  </channel>
</rss>

