<?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 Or Append a web feature layer Arcpy, ArcGIS Pro in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587839#M29520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the convert time geoprocessing tool? I had this issue a few weeks back and had to incorporate this tool into my process. Not sure if this helps you, but it worked for me.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2020 13:44:13 GMT</pubDate>
    <dc:creator>JasonSimpson</dc:creator>
    <dc:date>2020-04-08T13:44:13Z</dc:date>
    <item>
      <title>Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587832#M29513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I have a dynamic query layer (polygon) derived from feature class and SQL table, I was able to share it to ArcGIS Online as a web layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;1-&amp;nbsp; I would like to setup an automated workflow for overwriting&amp;nbsp;or append to hosted feature services within our ArcGIS Online Account (stand alone arcpy script) and schedule&amp;nbsp;that for everyday&amp;nbsp;update. I tried this one &lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-11621-update-hosted-feature-service-with-feature-class"&gt;Update Hosted Feature Service with Feature Class&lt;/A&gt;&amp;nbsp;but got this error. I am not interested using Python API,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;IMG __jive_id="487541" class="image-1 jive-image" height="188" src="https://community.esri.com/legacyfs/online/487541_pastedImage_1.png" width="287" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2- Where is the path of Query Layer (&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;workspacePath)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;?&amp;nbsp; I know its generated and already shared to ArcGIS Online.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;3- also I went through this one &lt;A href="https://www.esri.com/arcgis-blog/products/api-python/analytics/updating-your-hosted-feature-services-with-arcgis-pro-and-the-arcgis-api-for-python/?rmedium=redirect&amp;amp;rsource=blogs.esri.com/esri/arcgis/2017/03/14/updating-your-hosted-feature-services-with-arcgis-pro-and-the-arcgis-api-for-python"&gt;Best Practise for scripting updating of hosted feature services?&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; but none of&amp;nbsp; them helped.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2020 14:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587832#M29513</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-04-05T14:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587833#M29514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;2- Where is the path of Query Layer (&lt;SPAN style="color: #242729; background-color: #f9f8f6; border: 0px; font-weight: inherit;"&gt;workspacePath)&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;I checked its Data source Path, nothing on the DB.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2020 18:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587833#M29514</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-04-06T18:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587834#M29515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Husham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest approach would be to create a model and run the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/delete-rows.htm"&gt;Delete Rows&lt;/A&gt; to delete all the records from the feature service, and then execute the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/append.htm"&gt;Append &lt;/A&gt;tool to append features from a feature class to the feature service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have the model created, you can set this up to run at a prescribed time.&amp;nbsp; See the following help document on how to do this using ArcGIS Pro 2.5:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm" title="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm"&gt;Schedule geoprocessing tools—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 16:45:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587834#M29515</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-04-07T16:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587835#M29516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Will try this easiest approach. and get back to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 18:11:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587835#M29516</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-04-07T18:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587836#M29517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created the Model for deleting and Appending,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG class="image-2 jive-image" height="93" src="https://community.esri.com/legacyfs/online/487771_pastedImage_2.png" width="327" /&gt;&lt;/P&gt;&lt;P&gt;and It work Perfect,&amp;nbsp; the problem now with the Schedule,I keep getting this error. I am not Sure Is windows related or ArcGIS Pro issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="126" src="https://community.esri.com/legacyfs/online/487770_pastedImage_1.png" width="326" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 19:46:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587836#M29517</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-04-07T19:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587837#M29518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an alternative, you can export the model to a python script, and then try configuring Windows Task Scheduler to execute the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-14675-schedule-a-python-script-using-windows-task-scheduler"&gt;https://community.esri.com/docs/DOC-14675-schedule-a-python-script-using-windows-task-scheduler&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 21:04:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587837#M29518</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-04-07T21:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587838#M29519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this exactly what I did, any how will figure it out, my main issue now is how to set the time field&amp;nbsp;&lt;/P&gt;&lt;P&gt;because the append now reset the date/time field to UTC -5,&amp;nbsp; while I need it to be UTC -6 Central Time.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 21:28:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587838#M29519</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-04-07T21:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587839#M29520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the convert time geoprocessing tool? I had this issue a few weeks back and had to incorporate this tool into my process. Not sure if this helps you, but it worked for me.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 13:44:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587839#M29520</guid>
      <dc:creator>JasonSimpson</dc:creator>
      <dc:date>2020-04-08T13:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587840#M29521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not worked for me, did your original date/time with your local time Like my Case?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 16:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587840#M29521</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-04-13T16:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587841#M29522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I've created&amp;nbsp; a&amp;nbsp;&lt;/SPAN&gt;model its working fine&amp;nbsp;when I run it from the Model Builder - ArcGIS Pro,&amp;nbsp;but which fails when it is scheduled.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;In the Windows Scheduler window I get a (0x1) "Last Run Result" status.&amp;nbsp; Apparently when working with hosted layers it isn't as simple as it sounds.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Could you provide a simple example of how to create a model that interacts with a hosted feature class with windows Scheduler.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;When you get time, I posted few questions &lt;A _jive_internal="true" href="https://community.esri.com/thread/216491-automate-overwrite-web-layer-feature-class"&gt;here&lt;/A&gt;, still looking for answers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 14:35:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587841#M29522</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-04-14T14:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587842#M29523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been exploring the use of the python api and overwrite (FeatureLayerCollection and manager) to update a hosted table. The overwrite works through Windows Task Scheduler running a DOS batch file that calls a python program.&amp;nbsp; The ultimate goal is to update a table that is joined to a feature class.&amp;nbsp; However, when I have the table joined to the feature class, the overwrite of the table fails apparently because the table is "locked" up.&amp;nbsp; I have changed the settings to allow edits to the table and the original feature class but to no effect.&amp;nbsp; The join is one (feature class) to many (table).&amp;nbsp; Anyone experience something similar.&amp;nbsp; &amp;nbsp;I will explore Append to the table for the updates.&amp;nbsp; Append is just a little more complicated.&amp;nbsp; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 14:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587842#M29523</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-08-12T14:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587843#M29524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/165573"&gt;Brian Kaplan&lt;/A&gt;‌ here is a script that may assist you with the append:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-14843-overwrite-arcgis-online-feature-service-using-truncate-and-append"&gt;https://community.esri.com/docs/DOC-14843-overwrite-arcgis-online-feature-service-using-truncate-and-append&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 17:20:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/587843#M29524</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-08-12T17:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Or Append a web feature layer Arcpy, ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/1211316#M47810</link>
      <description>&lt;P&gt;Not sure if this is still an issue but I was able to get this to work from a esri presentation youtube link below. One issue was all date column have their time zone affected. I add batch calculate field to add 1 day to all date columns. This fixes my issue and allows the model to publish as scheduled.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 23:23:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-or-append-a-web-feature-layer-arcpy/m-p/1211316#M47810</guid>
      <dc:creator>DominguezWilliam</dc:creator>
      <dc:date>2022-09-09T23:23:00Z</dc:date>
    </item>
  </channel>
</rss>

