<?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: Example to copy portal content in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829627#M3112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the problem,&amp;nbsp; I am trying to run one of the ESRI samples that copies from one portal to another.&amp;nbsp; I will have to try and modify code to see if I can dump the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2017 12:53:21 GMT</pubDate>
    <dc:creator>PhilipHughes</dc:creator>
    <dc:date>2017-06-13T12:53:21Z</dc:date>
    <item>
      <title>Example to copy portal content</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829620#M3105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;trying to used the example listed in the site,&amp;nbsp; there a few typo errors that obvious however I getting a traceback error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "copy_to_mgq.py", line 398, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; target.content.create_folder(folder, user)&lt;BR /&gt;&amp;nbsp; File "C:\Continuum\Anaconda3\lib\site-packages\arcgis\gis.py", line 1665, in create_folder&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if self._portal.get_folder_id(owner_name, folder) is None:&lt;BR /&gt;&amp;nbsp; File "C:\Continuum\Anaconda3\lib\site-packages\arcgis\_impl\portalpy.py", line 2192, in get_folder_id&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if fldr['title'].upper() == folder_name.upper():&amp;nbsp; # Force both strings to upper case for comparison&lt;BR /&gt;AttributeError: 'dict' object has no attribute 'upper'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is from the line "target.content.create_folder(folder, user)"&amp;nbsp; am guessing this a problem in the esri code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 07:40:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829620#M3105</guid>
      <dc:creator>PhilipHughes</dc:creator>
      <dc:date>2017-06-10T07:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Example to copy portal content</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829621#M3106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Philip, we have fixed this error. It would be a while before the site is updated, meanwhile, you can check out the updated sample on github&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-python-api/blob/dev/samples/03_org_administrators/clone_portal_users_groups_and_content.ipynb" title="https://github.com/Esri/arcgis-python-api/blob/dev/samples/03_org_administrators/clone_portal_users_groups_and_content.ipynb"&gt;arcgis-python-api/clone_portal_users_groups_and_content.ipynb at dev · Esri/arcgis-python-api · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 20:44:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829621#M3106</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-06-12T20:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Example to copy portal content</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829622#M3107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance of getting the samples to download, says 404 error page not found&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 04:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829622#M3107</guid>
      <dc:creator>PhilipHughes</dc:creator>
      <dc:date>2017-06-13T04:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Example to copy portal content</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829623#M3108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip,&amp;nbsp;You can do to this link and save the file with extension (.ipynb) to download it:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://raw.githubusercontent.com/Esri/arcgis-python-api/dev/samples/03_org_administrators/clone_portal_users_groups_and_content.ipynb" title="https://raw.githubusercontent.com/Esri/arcgis-python-api/dev/samples/03_org_administrators/clone_portal_users_groups_and_content.ipynb"&gt;https://raw.githubusercontent.com/Esri/arcgis-python-api/dev/samples/03_org_administrators/clone_portal_users_groups_and…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The download the samples button is not for downloading the particular sample.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 05:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829623#M3108</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2017-06-13T05:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Example to copy portal content</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829624#M3109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&amp;nbsp; got the script,&amp;nbsp; now running, next problem is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when copying item&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;target_item = target.content.add(item_properties, data_file, thumbnail_file, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; metadata_file, source_item.owner, folder_name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting occasional error&lt;/P&gt;&lt;P&gt;HTTP error 413: Request Entity Too Large&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this fixed or is there a constant that can be set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 07:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829624#M3109</guid>
      <dc:creator>PhilipHughes</dc:creator>
      <dc:date>2017-06-13T07:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Example to copy portal content</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829625#M3110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also getting an error copying item &lt;/P&gt;&lt;P&gt;invalid json&amp;nbsp; in 'text' parameter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 11:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829625#M3110</guid>
      <dc:creator>PhilipHughes</dc:creator>
      <dc:date>2017-06-13T11:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Example to copy portal content</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829626#M3111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the json being passed in the text parameter. You can check its validity using the tool at&amp;nbsp;&lt;A class="link-titled" href="https://jsonformatter.curiousconcept.com/" title="https://jsonformatter.curiousconcept.com/"&gt;https://jsonformatter.curiousconcept.com/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 11:54:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829626#M3111</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2017-06-13T11:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Example to copy portal content</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829627#M3112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the problem,&amp;nbsp; I am trying to run one of the ESRI samples that copies from one portal to another.&amp;nbsp; I will have to try and modify code to see if I can dump the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/example-to-copy-portal-content/m-p/829627#M3112</guid>
      <dc:creator>PhilipHughes</dc:creator>
      <dc:date>2017-06-13T12:53:21Z</dc:date>
    </item>
  </channel>
</rss>

