<?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>idea Create an Overwrite tool by combining Delete Rows and Append tools for ModelBuilder in ModelBuilder Ideas</title>
    <link>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idi-p/1192619</link>
    <description>&lt;P&gt;Combine &lt;STRONG&gt;Delete Rows&lt;/STRONG&gt; and &lt;STRONG&gt;Append&lt;/STRONG&gt;&amp;nbsp;tools to make a single &lt;STRONG&gt;Overwrite&lt;/STRONG&gt;&amp;nbsp;tool to be used in ModelBuilder.&amp;nbsp; &lt;EM&gt;(a no code solution)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For background I have a Hosted Feature Layer, that is overwritten daily.&amp;nbsp; The data is coming from a CSV that gets processed in ModelBuilder.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_0-1657921015791.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45956i2B0B6969A56CF453/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_0-1657921015791.png" alt="RyanBohan_0-1657921015791.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1st &lt;STRONG&gt;Delete Rows&lt;/STRONG&gt; removes all records from the Hosted Layer&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_1-1657921015794.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45958i64EAA583E542BD03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_1-1657921015794.png" alt="RyanBohan_1-1657921015794.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2nd &lt;STRONG&gt;Append&lt;/STRONG&gt; the Hosted_Feature_Layer with the processed Feature_Layer_Temp&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_3-1657921395599.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45962i6AFF82905929929B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_3-1657921395599.png" alt="RyanBohan_3-1657921395599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Every time the model runs the entire Hosted Feature Layer is refreshed with new data from the processed CSV.&amp;nbsp; The Hosted Layer id stays the same, so no need to reconfigure anything consuming he layer.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; The only downside is the ObjectID increased every time the model is run.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I would love to see &lt;STRONG&gt;the Delete Rows&lt;/STRONG&gt; and &lt;STRONG&gt;Append&lt;/STRONG&gt; combined in a single &lt;STRONG&gt;Overwrite&lt;/STRONG&gt; tool.&amp;nbsp; Perhaps improving the ObjectID issue.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2022 21:44:23 GMT</pubDate>
    <dc:creator>RyanBohan</dc:creator>
    <dc:date>2022-07-15T21:44:23Z</dc:date>
    <item>
      <title>Create an Overwrite tool by combining Delete Rows and Append tools for ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idi-p/1192619</link>
      <description>&lt;P&gt;Combine &lt;STRONG&gt;Delete Rows&lt;/STRONG&gt; and &lt;STRONG&gt;Append&lt;/STRONG&gt;&amp;nbsp;tools to make a single &lt;STRONG&gt;Overwrite&lt;/STRONG&gt;&amp;nbsp;tool to be used in ModelBuilder.&amp;nbsp; &lt;EM&gt;(a no code solution)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For background I have a Hosted Feature Layer, that is overwritten daily.&amp;nbsp; The data is coming from a CSV that gets processed in ModelBuilder.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_0-1657921015791.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45956i2B0B6969A56CF453/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_0-1657921015791.png" alt="RyanBohan_0-1657921015791.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1st &lt;STRONG&gt;Delete Rows&lt;/STRONG&gt; removes all records from the Hosted Layer&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_1-1657921015794.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45958i64EAA583E542BD03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_1-1657921015794.png" alt="RyanBohan_1-1657921015794.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2nd &lt;STRONG&gt;Append&lt;/STRONG&gt; the Hosted_Feature_Layer with the processed Feature_Layer_Temp&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_3-1657921395599.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45962i6AFF82905929929B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_3-1657921395599.png" alt="RyanBohan_3-1657921395599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Every time the model runs the entire Hosted Feature Layer is refreshed with new data from the processed CSV.&amp;nbsp; The Hosted Layer id stays the same, so no need to reconfigure anything consuming he layer.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; The only downside is the ObjectID increased every time the model is run.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I would love to see &lt;STRONG&gt;the Delete Rows&lt;/STRONG&gt; and &lt;STRONG&gt;Append&lt;/STRONG&gt; combined in a single &lt;STRONG&gt;Overwrite&lt;/STRONG&gt; tool.&amp;nbsp; Perhaps improving the ObjectID issue.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 21:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idi-p/1192619</guid>
      <dc:creator>RyanBohan</dc:creator>
      <dc:date>2022-07-15T21:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Overwrite tool by combining Delete Rows and Append tools for ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1192622#M44</link>
      <description>&lt;P&gt;Our sharing team published this blog with a sample of how to overwrite in a model&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-modelbuilder" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-modelbuilder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For what you're describing though, have you simply tried using the Truncate Table tool rather than Delete Rows? &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/truncatetable.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/truncatetable.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That will solve your stated problem of the objectid not resetting (as long as it works on your hosted feature service).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 22:13:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1192622#M44</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2022-07-15T22:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Overwrite tool by combining Delete Rows and Append tools for ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1192624#M45</link>
      <description>&lt;P&gt;Hi Kory,&lt;/P&gt;&lt;P&gt;Thank you for the quick response, we are on portal 10.8.1 and have previously ran into a bug after 4-6 weeks of a daily overwrite that completely corrupts a hosted feature layer.&amp;nbsp; We believe this has been fixed in 10.9.1 however while in the works, the upgrade will take us a while. &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzMTM2Ng==" target="_blank"&gt;https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzMTM2Ng==&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank for the tip on the Truncate Table Tool, sadly "This tool does not support a feature service layer as input." until Pro 3.0.&amp;nbsp; With some Pro 3.0 files not being backwards compatible, as an organization we will need to plan the upgrade careful to bring everyone up to Pro 3.x at the same time.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 23:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1192624#M45</guid>
      <dc:creator>RyanBohan</dc:creator>
      <dc:date>2022-07-15T23:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Overwrite tool by combining Delete Rows and Append tools for ModelBuilder - Status changed to: Already Offered</title>
      <link>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1192870#M46</link>
      <description>&lt;P&gt;Thanks for the additional details, Ryan. You're right, it looks like the ability to Truncate a feature service was added in ArcGIS Pro 3.0. So hopefully once you're able to upgrade, that will provide the solution you're looking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Be sure to thoroughly review&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/announcements/get-ready-for-arcgis-pro-3-0/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro/announcements/get-ready-for-arcgis-pro-3-0/&lt;/A&gt;&amp;nbsp;and the referenced migration documentation if you have not already (sounds like maybe you have which is good)!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 12:47:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1192870#M46</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2022-07-18T12:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Overwrite tool by combining Delete Rows and Append tools for ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1192955#M47</link>
      <description>&lt;P&gt;Ryan if you have Data Interoperability extension you can refresh your target layer with a changes-only data set, let me know if that if of interest.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 15:24:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1192955#M47</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2022-07-18T15:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Overwrite tool by combining Delete Rows and Append tools for ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1193100#M48</link>
      <description>&lt;P&gt;Hi Bruce,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Great idea, I will check if we have any Data &lt;SPAN&gt;Interoperability&amp;nbsp;&lt;/SPAN&gt;licenses available.&amp;nbsp; Only updating changes sounds much cleaner process, and will improve time on the larger datasets.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 19:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-ideas/create-an-overwrite-tool-by-combining-delete-rows/idc-p/1193100#M48</guid>
      <dc:creator>RyanBohan</dc:creator>
      <dc:date>2022-07-18T19:29:24Z</dc:date>
    </item>
  </channel>
</rss>

