<?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: AGOL-Using Python to create feature layer from URL in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1633209#M74500</link>
    <description>&lt;P&gt;I have to confess, we build the maps in their entirety, complete with symbology, forms etc. then clone the web map item (rather than individual feature layers) and allow the process to clone all the component feature services as part of the process and we never hit an issue, as long as the:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;copy_data=True&lt;BR /&gt;and&lt;BR /&gt;search_existing_items=False&lt;BR /&gt;&lt;BR /&gt;parameters are used. I would play with combining those parameters though and I think you should get what you need.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 16:09:08 GMT</pubDate>
    <dc:creator>RichardHowe</dc:creator>
    <dc:date>2025-07-15T16:09:08Z</dc:date>
    <item>
      <title>AGOL-Using Python to create feature layer from URL</title>
      <link>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1632917#M74494</link>
      <description>&lt;P&gt;I sometimes need to create new, discrete layers with the same forms and symbology as a template layer. Manually, the way to do this is to create a new feature layer and select "provide an ArcGIS Server layer URL." Is there a straightforward way to do this with python in an AGOL notebook? Or do I need to get into the JSON for the template layer and somehow apply that to a new blank layer (I'm pretty new to doing stuff like that so please dumb it down if so)?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 19:19:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1632917#M74494</guid>
      <dc:creator>MaggieT</dc:creator>
      <dc:date>2025-07-14T19:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL-Using Python to create feature layer from URL</title>
      <link>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1633048#M74498</link>
      <description>&lt;P&gt;We use the&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items" target="_self"&gt;clone_items&lt;/A&gt;&amp;nbsp;method from the ArcGIS API for Python. Whilst primarily designed for copying data from one portal to another, you can make the source and target portal the same. You will need to use some code to rename the clone once it's done, but it works well for us&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 07:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1633048#M74498</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2025-07-15T07:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL-Using Python to create feature layer from URL</title>
      <link>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1633145#M74499</link>
      <description>&lt;P&gt;This is a nice option. Just to note I had issues with this in the past where I could only clone a feature service once, it would throw and error if I attempted to clone a second time. Have you ever come across this issue? When I get a chance I'll test it out for myself! I have used the ArcGIS API for Python successfully to create deep copies of a Feature Service or a single Feature Layer.&lt;/P&gt;&lt;P&gt;Here's a couple of workflows...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://learn.finaldraftmapping.com/create-a-new-hosted-feature-service-in-arcgis-online-and-add-a-feature-layer-with-the-arcgis-api-for-python/" target="_blank" rel="noopener"&gt;Create a new Hosted Feature Service in ArcGIS Online and add a Feature Layer with the ArcGIS API for Python&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.finaldraftmapping.com/copy-an-arcgis-online-feature-layer-from-a-feature-service-to-another-with-the-arcgis-api-for-python/" target="_blank" rel="noopener"&gt;Copy an ArcGIS Online Feature Layer from a Feature Service to Another with the ArcGIS API for Python&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 15 Jul 2025 14:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1633145#M74499</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2025-07-15T14:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL-Using Python to create feature layer from URL</title>
      <link>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1633209#M74500</link>
      <description>&lt;P&gt;I have to confess, we build the maps in their entirety, complete with symbology, forms etc. then clone the web map item (rather than individual feature layers) and allow the process to clone all the component feature services as part of the process and we never hit an issue, as long as the:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;copy_data=True&lt;BR /&gt;and&lt;BR /&gt;search_existing_items=False&lt;BR /&gt;&lt;BR /&gt;parameters are used. I would play with combining those parameters though and I think you should get what you need.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 16:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/agol-using-python-to-create-feature-layer-from-url/m-p/1633209#M74500</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2025-07-15T16:09:08Z</dc:date>
    </item>
  </channel>
</rss>

