Transfer of dashboard between organizations

9162
14
Jump to solution
03-25-2020 02:11 PM
IvanKozoletov1
New Contributor III

How do you transfer the dashboard from owner to another person in different organization? We have a student who designed dashboard for us but would be great if we can move it over to our organization to maintain the dashboard moving forward.

If student invites me to the group I can save the web map and hosted feature layer within it but how do you transfer the dashboard so it can be edited

1 Solution

Accepted Solutions
KarstenRank
Occasional Contributor III

Hi,

the article  How To: Copy content from the Operations Dashboard of one Portal for ArcGIS or ArcGIS Online account... works fine for me.

But if look to your code:

item = source_gis.content.get("<19461bb6b6e341bda6f99d6592066146>")

try: 

item = source_gis.content.get("19461bb6b6e341bda6f99d6592066146")

Karsten

View solution in original post

14 Replies
KarstenRank
Occasional Contributor III

Hi,

do you want to copy the content between two portals or change only the owner in the same portal?

0 Kudos
IvanKozoletov1
New Contributor III

Hi,

Between two different AGOL organizational accounts. We do not have ArcGIS Enterprise license atm

0 Kudos
BenTurrell
Occasional Contributor III

Hey Ivan Kozoletov‌,

Have you seen the AGOL Assistant? ArcGIS Online Assistant 

You sign into both Portals or ArcGIS Online accounts and then you can move content between the two.

If you are interested in moving a lot of different layers you should look into clone_items() in the python api: arcgis.gis module — arcgis 1.8.0 documentation 

For your situation with only one dashboard I recommend the ArcGIS Online Assistant.

Thanks,

Ben


If this answer was helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.

IvanKozoletov1
New Contributor III

Hi Ben, thanks for your suggestion but we already tried that and we could not move the dashboard with assistant. At, least that's what student reported (see attached). I have to try it for myself, but what I been told from this image is only highlighted  items can be moved (feature service, web map) but not the dashboard itself. Assistant does not let you select certain items, and ArcGIS dashboard is one of them.

Assistant

0 Kudos
BenTurrell
Occasional Contributor III

Ivan Kozoletov‌,

You could still use the python method to migrate using clone_items().

source_gis = arcgis.gis.GIS("https://arcgis.com","username","password")

target_gis = arcgis.gis.GIS("https://server.com/portal", "username","password")

item = source_gis.content.get("<item-id>")

target_gis.content.clone_items([item])

IvanKozoletov1
New Contributor III

Thats it? Seems easy enough, thanks Ben I'll give it a try. I assume it makes no difference if the target is also AGOL, right?

source_gis = arcgis.gis.GIS("https://arcgis.com","username","password")

target_gis = arcgis.gis.GIS("https://arcgis.com ", "username","password")

0 Kudos
BenTurrell
Occasional Contributor III

Ivan Kozoletov‌,

Yep that should still work! Let me know how you go with it.

Thanks

Ben

IvanKozoletov1
New Contributor III

Hi Ben, I tried it:

from arcgis.gis import GIS
source_gis = GIS("https://citypa.maps.arcgis.com","ikozoletov","************")
target_gis = GIS("https://citypa.maps.arcgis.com","gis_citypa","************")
item = source_gis.content.get("<19461bb6b6e341bda6f99d6592066146>")
target_gis.content.clone_items([item])

And get following response:

Item does not exist or is inaccessible. 
0 Kudos
CalebSang
New Contributor II

this works for me, thanks! 

0 Kudos