<?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: Unable to clone Feature Layer - portal item in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-clone-feature-layer-portal-item/m-p/1594656#M11220</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3866"&gt;@MahenderRajendran&lt;/a&gt;&amp;nbsp;is this occurring for all your Feature Layers or just a specific one?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 10:21:40 GMT</pubDate>
    <dc:creator>PeterHodkinson</dc:creator>
    <dc:date>2025-03-12T10:21:40Z</dc:date>
    <item>
      <title>Unable to clone Feature Layer - portal item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-clone-feature-layer-portal-item/m-p/1564605#M10922</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying the clone a portal item (feature layer) and getting the following error:&lt;/P&gt;&lt;PRE&gt;'PropertyMap' instance has no attribute 'layers'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;item = accGIS.content.get(itemid)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;clone_results = prodGIS.content.clone_items([item], copy_data=False, search_existing_items=True, preserve_item_id=True)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The code works fine, if i copy a wms layer. But it does not work for Feature Layer&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 10:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-clone-feature-layer-portal-item/m-p/1564605#M10922</guid>
      <dc:creator>MahenderRajendran</dc:creator>
      <dc:date>2024-12-04T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to clone Feature Layer - portal item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-clone-feature-layer-portal-item/m-p/1594656#M11220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3866"&gt;@MahenderRajendran&lt;/a&gt;&amp;nbsp;is this occurring for all your Feature Layers or just a specific one?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 10:21:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-clone-feature-layer-portal-item/m-p/1594656#M11220</guid>
      <dc:creator>PeterHodkinson</dc:creator>
      <dc:date>2025-03-12T10:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to clone Feature Layer - portal item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-clone-feature-layer-portal-item/m-p/1594731#M11221</link>
      <description>&lt;P&gt;I have had good success with this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;item = accGIS.content.get(itemid)

clone_results = target.content.clone_items(items=[item])&lt;/LI-CODE&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 14:43:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-clone-feature-layer-portal-item/m-p/1594731#M11221</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2025-03-12T14:43:43Z</dc:date>
    </item>
  </channel>
</rss>

