<?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: How To Overwrite a Feature Service To AGOL Using ArcPy in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-overwrite-a-feature-service-to-agol-using/m-p/866789#M4460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you aware of the examples in this thread?&amp;nbsp;&lt;A href="https://community.esri.com/thread/216491"&gt;Automate overwrite web layer, feature class&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2020 15:46:29 GMT</pubDate>
    <dc:creator>JonahLay</dc:creator>
    <dc:date>2020-05-19T15:46:29Z</dc:date>
    <item>
      <title>How To Overwrite a Feature Service To AGOL Using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-overwrite-a-feature-service-to-agol-using/m-p/866788#M4459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to write a Python script to simply overwrite a feature layer to ArcGIS Online.&amp;nbsp;&amp;nbsp;I have read some other GeonNet posts, and took a look at the Python API, but still can't find a good example for what I'm trying to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script would just overwrite the feature service in ArcGIS Online using the same local data source each time the script is run.&amp;nbsp; The dataset is changing on our system weekly.&amp;nbsp; But the service is published in ArcGIS Online because it gets a lot of traffic, and they can better handle scaling than our local server environment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ArcGIS Pro would let you run this process as a geoprocessing tool, then I could just copy the Python code snippet.&amp;nbsp;&amp;nbsp;Any tips or sample code would be very helpful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a walk-through of the manual process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Launch ArcGIS Pro document that contains local data source &amp;gt; sign-in to ArcGIS Online &amp;gt; manually overwrite feature service &amp;gt; close ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I am open to ArcMap/Python 2 solution to this. Though I do prefer a Python 3 approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 14:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-overwrite-a-feature-service-to-agol-using/m-p/866788#M4459</guid>
      <dc:creator>PatrickMcKinney1</dc:creator>
      <dc:date>2020-05-19T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: How To Overwrite a Feature Service To AGOL Using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-overwrite-a-feature-service-to-agol-using/m-p/866789#M4460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you aware of the examples in this thread?&amp;nbsp;&lt;A href="https://community.esri.com/thread/216491"&gt;Automate overwrite web layer, feature class&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 15:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-overwrite-a-feature-service-to-agol-using/m-p/866789#M4460</guid>
      <dc:creator>JonahLay</dc:creator>
      <dc:date>2020-05-19T15:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: How To Overwrite a Feature Service To AGOL Using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-overwrite-a-feature-service-to-agol-using/m-p/866790#M4461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I was looking for.&amp;nbsp; I was at a lost as to how to update the service definition associated with the existing service.&amp;nbsp; I was definitely on the right track.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 17:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-overwrite-a-feature-service-to-agol-using/m-p/866790#M4461</guid>
      <dc:creator>PatrickMcKinney1</dc:creator>
      <dc:date>2020-05-19T17:49:47Z</dc:date>
    </item>
  </channel>
</rss>

