I created my first story map today using ArcGIS StoryMaps on my public account (by accident) & need to transfer the story to my organisation account. My usernames are linked. How do I do this?? There must be a way to transfer...
All -- There's a new ArcGIS Assistant tool that has some capabilities for transferring content. Check it out and see if it meets your needs.
https://assistant.esri-ps.com/
Hey Kim,
Yes you can , through the use of ArcGIS Online Assistant . Once you log into it through your public account you have access to your root folder, which will contain your original story maps. Click on the "I want to" button at the top of the page and select copy content. This will then allow you to log into your new account (online/portal) and drag and drop the items you wish to copy across.
Hope this helped.
Please note that the ArcGIS Online assistant does NOT transfer uploaded images when you copy an item from one account to another. The images may appear in the copied story, but they will be linked to the ones in the original story. If you go this route you'll need to upload the images again to the copied story if you want the copy to be self-contained. Also note that any maps, scenes, and layers in the story also reference the originals and are NOT duplicated.
Another path to consider is joining your public account to your organization. Once your public account is part of your organization, you could have an administrator transfer ownership of the story item and any resources from your (formerly) public account to your current org account. You can find more detail about that process here: Join organization—ArcGIS Online Help | Documentation
Hi Owen,
Just to clarify does AGOL Assistant also support the Copying of ArcGIS Story Maps?
Upon logging in and selecting "I want to: Copy Content" the desired ArcGIS Story Map is un-selecable/ not transferable. Is this expected or is there something going wrong?
Thanks,
Amanda
It doesn't BUT what you can do instead is to create a "dummy" story (publish & close it) and then copy the json from the data section of the StoryMap you wanted to replicate into the dummy one. Of course your images won't be there but it's better than starting from scratch. One thing to keep in mind with this method is that it will only be viable on published stories; the data section of the json isn't generated until a story is published.
Its sad that it doesnt seem the option to move/copy story maps doesn't seem to exist. I would like to even be able to give a story map i created to another organization and so far can not.
It is possible to clone a Story Map (or a feature layer, map, app, etc.) from one AGOL account to another using a Python script. This will create a copy of the Story Map with uploaded images in your AGOL account. However, it may not copy other dependent items such as web maps.
This workflow is explained in more details in the article linked below:
from arcgis.gis import GISgis1 = GIS("https://arcgis.com", 'USERNAME','PASSWORD')gis2 = GIS("https://arcgis.com", 'USERNAME', 'PASSWORD')items = gis1.content.search(query='id:ITEM_ID', sort_field='id', sort_order='desc')print(str(len(items)) + " items will be cloned. See the list below:") itemsdef deep_copy_content(input_list): for item in input_list: try: print("Cloning " + item.title) copy_list = [] copy_list.append(item) gis2.content.clone_items(copy_list, copy_data=True, search_existing_items=True) print("Successfully cloned " + item.title) except Exception as e: print(e) print("The function has completed")deep_copy_content(items)
from arcgis.gis import GIS
gis1 = GIS("https://arcgis.com", 'USERNAME','PASSWORD')gis2 = GIS("https://arcgis.com", 'USERNAME', 'PASSWORD')
items = gis1.content.search(query='id:ITEM_ID', sort_field='id', sort_order='desc')
print(str(len(items)) + " items will be cloned. See the list below:") items
def deep_copy_content(input_list): for item in input_list: try: print("Cloning " + item.title) copy_list = [] copy_list.append(item) gis2.content.clone_items(copy_list, copy_data=True, search_existing_items=True) print("Successfully cloned " + item.title) except Exception as e: print(e) print("The function has completed")deep_copy_content(items)
All the best,
MJ
Hey Amanda, were you ever able to figure out how to copy a storymap to someone out of your organization?. I am dealing with this issue too.
It sounds like there is no option to copy OR transfer an ArcGIS Story Map from one organizational AGOL account to another organizational AGOL, correct? I am trying to transfer my Story Map collection to a different organizational account. I have a lot of content I am trying to transfer. 😕
Nifty script! I was able to login to the respective accounts and obtain the list of items to be cloned (43 of them), however when attempting to run the deep_copy_content function it spit back an error I don't quite know how to handle
can only concatenate str (not "builtin_function_or_method") to str
I've got everything up until this point working well, do I have to put in the name of the item in the step below or the list generated in the previous step? A little new to using python.
##Create a logic to clone the items using the clone_items() function and to handle an error if the cloning process fails.def deep_copy_content(input_list):for item in input_list:try:print("Cloning " + item.title)copy_list = []copy_list.append(item)gis2.content.clone_items(copy_list, copy_data=True, search_existing_items=True)print("Successfully cloned " + item.title)except Exception as e:print(e)print("The function has completed")deep_copy_content(items)
Thanks!
Oh nice! I didn't know a new version of the Assistant tool was in the works - I'll give it a try with some apps - thanks!
Copying the story maps seems working however no further edits are able to make. Seems a bug.
@SCAGGISLA -- What types of accounts are you transferring between? Is either account a public account?
both accounts are organizations accounts. transferring from one AGOL org account to another AGOL account.
I tried from the source AGOL org account to ArcGIS Enterprise (10.8.1) too but almost a similar error while editing.
@SCAGGISLA -- As noted in the Assistant documentation, copying from Online to Enterprise (especially an older version of Enterprise) is not likely to be met with success. This is because the Enterprise codebase and data model are older than Online so there are inconsistencies.
https://guide.assistant.esri-ps.com/docs/common-workflows#anything-else-i-should-know-about-copying-storymaps
We'll look into the AGO > AGO issue, but we haven't heard any other reports of that not working. If you can share the story publicly (from your Content page in ArcGIS Online) and provide an id we can try to take a look.
Thanks @OwenGeo.
here is the ID (77097c02cb034a46a3a911ae7221e84b) for the storymap which I am trying to copy from. It is already shared publicly.
@SCAGGISLA -- Could you share the ID of the broken story as well?
@OwenGeo . Here is the ID (8d686688280845a8ac73e70a4fd9da92) which is broken after the transfer. I have temporarily shared it publicly.
@OwenGeo Did you get a chance to look into? were you able to replicate the issue at your side?
Yes, we looked into this and we're not able to reproduce the issue. Here's a copy of the story that I made in my account using the ArcGIS Assistant, and it appears to be working as expected.
https://storymaps.arcgis.com/stories/b1e9b110c51741ad983b378534246ff3
Which method are you using to copy the story? The ArcGIS Assistant or the python script mentioned in this thread?
Hi, @OwenGeo thanks for the quick response. I can confirm this is not copied correctly. If you notice then the id for both original and copied are the same! (77097c02cb034a46a3a911ae7221e84b)
Also, did you try to edit this story map (newly copied version) on the AGOL item page? Do you see any errors?
I understand this assistant is developed by the professional team not officially supported by the ESRI support however I would be happy to open a ticket with the support team if that can be useful to explain in more detail, expedite the issue and look into the same.
@SCAGGISLA -- Sorry, I did paste the wrong URL in initially, but edited my post with the correct URL about a minute later. The updated URL does point to the duplicate item that works as expected. Here's that URL again.
There is a known issue with ArcGIS Assistant that it doesn't update the URL property of the duplicate item. A fix for that issue will be deployed soon, but until then you can manually edit the URL property to update it.
@OwenGeo Understod. This does make sense. I updated the IDs my side too.
I tried again copying using your item ID and it went fine however after then I tried to edit/configure on the AGOL item page and it gives the below error. Do you see this error too on your copied version?
below is the screenshot for the workflow I followed for copying.
@SCAGGISLA -- When using ArcGIS Assistant, you need to make sure that the account that you're using to initiate the copy owns the story being copied. If not, the duplicate story won't be editable.
Hi @OwenGeo apologies for the little late response. I believe that's what I am doing. Please see the steps I am following. I feel it's a bug but requires your team's attention.
Step 1-login to AGOL Assitant (sign in with ArcGIS Online) using the admin user
Step 2- on the top menu selected ArcGIS Online and then search the item (story map) which need to copy (id is 77097c02cb034a46a3a911ae7221e84b) the owner for this item is another user from a different organization.
Step 3- Select item and click on copy item option
Step 4- Copying item option displayed- choose an account to copy to. The primary AGOL account chosen which I used earlier to login to the assistant at step1Step 4.1- option popups- this is an admin account. Choose a user within this organization to copy to..- a user was selected (same AGOL user with admin access which was used to login at step1)Step 4.2- option popups- Choose a folder to copy to...(an existing folder was selected)Step 4.3- click on the copy item button.Step 4.3- button popped up with the confirmation that copied 1 item (open in ArcGIS Online)
Step 5- the new item opened on the AGOL item page> click on configure> shows an error - Hmm... there seems to be an issue. The story builder can’t be loaded.
Also, this new item carried a new id on the item page but if check on the item setting page or in the assistant JSON editor then shows the original item id which was used to create the new one.
Please let me know your thoughts.
Hi @SCAGGISLA -- Sorry, but you're doing the opposite of what I described in my previous post. 😕 I mentioned to...
make sure the account that you're using to initiate the copy owns the story being copied.
But you said...
If the owner for the item is another user from a different org, then the account you are using to initiate the copy does not own the item.
In order to be able to copy a story and edit it, you need to have A) an account where you are the owner of that story and another account in the organization where you want to copy it to.
It would not be good if anyone could easily copy anyone else's story and start making changes. While there are many use cases where that could be helpful, that is not a workflow that we're interested in allowing without other protections (say someone copies your story, changes the author name, and republishes it as their own, or maybe they change some critical information in the story - those are not things that should be easy to do).
I hope this clears things up - let me know if you have other questions!
Hi @OwenGeo thanks for the prompt response. this does make sense but I am afraid does this really fulfill the workflow for the Copy of a story to a different organization?
I understand that stories should not be copied if the owner is different and agree completely with the reason provided but still feel this as a limitation and should there be a workaround to achieve the task.
In my workflow, the consultant has created a story map which we have to migrate to our AGOL environment for the completion of the project, to do this I must need to ask the consultant to use the tool and give him temporary access to our AGOL to complete the migration!
This is a life saver, thank you.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.