There are 3 files in this repository:
This notebook is used to do AGOL to AGOL transfers, designed to handle one item at a time. In AGOL to AGOL transfers, we refer to the org with the original content as the origin portal. The AGOL where we want to transfer our items to is the destination portal.
Download the latest version from Github.
Log into the ArcGIS online organization where you want your items to be transferred to (the destination portal).
Add the file as an item to your ArcGIS Online organization. When prompted to select a Python Notebook version, use the Basic. Advanced is not needed for this tool.
Upload the catalog.csv file to your ArcGIS Online organization as an item:
a. For "How would you like to add this file?", select Add catalog.csv and create a hosted feature layer or table.
b. Leave the fields default.
c. Click the Addresses or place names drop down menu at the top of the Location settings panel. Select None.
d. Click save. Go to the Item page, grab its Item ID and save it for use later.
Open the Item and proceed to configuration.
ITEM_ID: The Item ID in the original portal for the item you want to transfer.
After configuration, you can simply execute each cell and the script should handle the rest!
This notebook is a companion to the content migration tool, creating an inventory of a user's content. This is typically run beforehand and you will be given a copy of the report. But if you would like to build this on your own (compute time may take a while):