<?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 Can you use clone_items to move items from one portal to another? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-you-use-clone-items-to-move-items-from-one/m-p/733680#M226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this work for moving items from one portal to another?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items"&gt;arcgis.gis module — arcgis 1.4.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, is there a copy_items with a source and target?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2018 22:21:07 GMT</pubDate>
    <dc:creator>JamesGustine</dc:creator>
    <dc:date>2018-04-09T22:21:07Z</dc:date>
    <item>
      <title>Can you use clone_items to move items from one portal to another?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-you-use-clone-items-to-move-items-from-one/m-p/733680#M226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this work for moving items from one portal to another?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items"&gt;arcgis.gis module — arcgis 1.4.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, is there a copy_items with a source and target?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 22:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-you-use-clone-items-to-move-items-from-one/m-p/733680#M226</guid>
      <dc:creator>JamesGustine</dc:creator>
      <dc:date>2018-04-09T22:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use clone_items to move items from one portal to another?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-you-use-clone-items-to-move-items-from-one/m-p/733681#M227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please review this thread,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/210381"&gt;Copy content between Portal A and AGOL&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the sample,&lt;BR /&gt;&lt;A class="link-titled" href="https://github.com/Esri/ago-clone-items" title="https://github.com/Esri/ago-clone-items"&gt;GitHub - Esri/ago-clone-items: Tools used to clone items between ArcGIS Online and ArcGIS Enterprise organizations.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 22:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-you-use-clone-items-to-move-items-from-one/m-p/733681#M227</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2018-04-09T22:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use clone_items to move items from one portal to another?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-you-use-clone-items-to-move-items-from-one/m-p/733682#M228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ago-clone-items repo is deprecated since the functionality was moved into the Python API.&lt;/P&gt;&lt;P&gt;You can use the&amp;nbsp;Python&amp;nbsp;API to deep clone items and their dependencies using "clone_items" like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;source_gis = arcgis.gis.GIS("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Farcgis.com" rel="nofollow" target="_blank"&gt;https://arcgis.com&lt;/A&gt;&lt;SPAN&gt;","username","password")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;target_gis = arcgis.gis.GIS("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fserver.com%2Fportal" rel="nofollow" target="_blank"&gt;https://server.com/portal&lt;/A&gt;&lt;SPAN&gt;", "username","password")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;item = source_gis.content.get("&amp;lt;item-id&amp;gt;")&lt;/P&gt;&lt;P&gt;target_gis.content.clone_items([item])&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 23:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-you-use-clone-items-to-move-items-from-one/m-p/733682#M228</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-09T23:32:18Z</dc:date>
    </item>
  </channel>
</rss>

