AnsweredAssumed Answered

Example to copy portal content

Question asked by hughespc on Jun 10, 2017
Latest reply on Jun 13, 2017 by hughespc

trying to used the example listed in the site,  there a few typo errors that obvious however I getting a traceback error

 

Traceback (most recent call last):
  File "copy_to_mgq.py", line 398, in <module>
    target.content.create_folder(folder, user)
  File "C:\Continuum\Anaconda3\lib\site-packages\arcgis\gis.py", line 1665, in create_folder
    if self._portal.get_folder_id(owner_name, folder) is None:
  File "C:\Continuum\Anaconda3\lib\site-packages\arcgis\_impl\portalpy.py", line 2192, in get_folder_id
    if fldr['title'].upper() == folder_name.upper():  # Force both strings to upper case for comparison
AttributeError: 'dict' object has no attribute 'upper'

 

This is from the line "target.content.create_folder(folder, user)"  am guessing this a problem in the esri code

Outcomes