<?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: Automate batch update of layers using ArcGIS API for Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/automate-batch-update-of-layers-using-arcgis-api/m-p/1187713#M7520</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/238340"&gt;@BenjaminSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is indeed possible.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Pull a shapefile download from an ArcGIS hosted feature service, see &lt;A href="https://support.esri.com/en/technical-article/000018909" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Clip the shapefile; use arcpy, see &lt;A href="https://pro.arcgis.com/en/pro-app/2.8/tool-reference/analysis/clip.htm" target="_self"&gt;here&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Reupload to ArcGIS Online as a hosted feature service; you will need to get Python to zip up the Shapefile components. Add the zip to AGOL using content manager &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc/#contentmanager" target="_blank" rel="noopener"&gt;add method&lt;/A&gt;, and publish as Feature Service using the item &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc/#item" target="_blank" rel="noopener"&gt;publish method&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;re-run 3-4 as required&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Wed, 29 Jun 2022 11:00:07 GMT</pubDate>
    <dc:creator>Clubdebambos</dc:creator>
    <dc:date>2022-06-29T11:00:07Z</dc:date>
    <item>
      <title>Automate batch update of layers using ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/automate-batch-update-of-layers-using-arcgis-api/m-p/1174399#M7407</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Thank you for your assistance with this potentially basic question, I am new to Python.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to automate the following workflow, so am seeking confirmation if it is possible:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Pull a shapefile download from an ArcGIS hosted feature service.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Clip the shapefile.&lt;/LI&gt;&lt;LI&gt;Reupload to ArcGIS Online as a hosted feature service.&lt;/LI&gt;&lt;LI&gt;Automate the repetition of this process so that layers remain current.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I believe this should be possible, maybe using a combination of ArcPy and ArcGIS API for Python. Has anyone tried this?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 23:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/automate-batch-update-of-layers-using-arcgis-api/m-p/1174399#M7407</guid>
      <dc:creator>BenjaminSkinner</dc:creator>
      <dc:date>2022-05-16T23:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automate batch update of layers using ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/automate-batch-update-of-layers-using-arcgis-api/m-p/1187713#M7520</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/238340"&gt;@BenjaminSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is indeed possible.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Pull a shapefile download from an ArcGIS hosted feature service, see &lt;A href="https://support.esri.com/en/technical-article/000018909" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Clip the shapefile; use arcpy, see &lt;A href="https://pro.arcgis.com/en/pro-app/2.8/tool-reference/analysis/clip.htm" target="_self"&gt;here&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Reupload to ArcGIS Online as a hosted feature service; you will need to get Python to zip up the Shapefile components. Add the zip to AGOL using content manager &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc/#contentmanager" target="_blank" rel="noopener"&gt;add method&lt;/A&gt;, and publish as Feature Service using the item &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc/#item" target="_blank" rel="noopener"&gt;publish method&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;re-run 3-4 as required&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 29 Jun 2022 11:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/automate-batch-update-of-layers-using-arcgis-api/m-p/1187713#M7520</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2022-06-29T11:00:07Z</dc:date>
    </item>
  </channel>
</rss>

