ago-assistant icon indicating copy to clipboard operation
ago-assistant copied to clipboard

Unable to fully copy layer due to "Name Already Taken"

Open IndigoWizard opened this issue 4 years ago • 1 comments

Whenever I try to make a Full Copy of a layer (specifically) between two accounts, it shows an error on the name:

image

No matter the name, type of characters or string combination, it still shows the same error:

image

Use case: trying to copy content from my temporary mooc ArcGIS Online account to my personal ArcGIS Online account. All layers are public, sharable with no restrictions. The maps copy without any issue, the layers I created for the mooc's exercise are the only problem (so far, that's all I tested)

IndigoWizard avatar Sep 21 '20 16:09 IndigoWizard

Hello! I would recommend using the ArcGIS Python API's method clone_items for this case, I think you will have better luck with it and it is more actively developed.

Here is a sample Notebook that accomplishes this, which you could use in the ArcGIS Online Notebook functionality: https://github.com/jmirmelstein/ArcGIS-Python-API-Samples/blob/master/Samples/Copy%20Specific%20Item.ipynb

slibby avatar Sep 21 '20 16:09 slibby