How To: Copy/clone content from one ArcGIS Online ...
文章推薦指數: 80 %
Procedure. The following Python script (run from a Jupyter Notebook interface) uses the clone_items method in the arcgis module to copy hosted ...
English
Deutsch
Español
français
Português
中文
日本語
Menu
Products
Desktop
Enterprise
Online
Developers
Apps
MoreProducts
LegacyProducts
KnowledgeBase
Downloads
OtherResources
OtherResources
GISDictionary
SupportServicesBlog
EsriCommunity
ArcGISforDevelopers
wiki.GIS.com
EarlyAdopterProgram
ArcGISIdeas
EsriSupportServices
ArcGISBlogs
ArcGISCodeSharing
ProductLifeCycles
SupportOptions
RequestCase
StartChat
ManageCases
PremiumSupport
PrioritySupport
ContactSupport
Continueintheapp
Continue
Stayonweb
TechnicalSupport
EsriSupportv5.5isnowavailablefordownload!
EsriSupportv5.5isnowavailablefordownload!
Seewhat'snew!.
CloseandDon'tRemind
Backtoresults
Print
Share
Contentfeedbackiscurrentlyofflineformaintenance.Pleasetryagaininafewminutes.
BeTheFirstToGetSupportUpdates
Wanttoknowaboutthelatesttechnicalcontentandsoftwareupdates?
GetNotifications
IsThisContentHelpful?
SearchonEsriCommunity
SubmittoArcGISIdeas
Backtotop
HowTo:Copy/clonecontentfromoneArcGISOnlineorganizationorPortalforArcGIStoanother
Summary
ArcGISOnlineAssistantisoftenconsideredastheonlywaytocopycontentsfromoneArcGISOnlineorganizationorPortalforArcGIS toanother.However,theinstructionsprovidedbelowdescribehowtodothisusingtheArcGISAPIforPythontocopycontentswebmaps,configurableapps,dashboards,shapefiles,filegeodatabases,andothers.
Procedure
ThefollowingPythonscript(runfromaJupyterNotebookinterface)usestheclone_items methodinthearcgismodule tocopyhostedfeaturelayersandtheunderlyingservicefromoneArcGISOnlineorganizationtoanother.ThesamplecellsusedareintendedforuseinJupyterNotebook,butcanbemodifiedforuseinastandalonescript.
Note:
TheuserexecutingthecopyshouldbeanadmininthetargetGIS.
Importthenecessarymodule.
fromarcgis.gisimportGIS
SpecifytheURLandcredentialoftheoriginArcGISOnlineaccount.
#ForArcGISOnline
gis=GIS("https://arcgis.com","Username","Password")
#ForPortalforArcGIS
gis=GIS("https://
延伸文章資訊
- 1How To: Copy/clone content from one ArcGIS Online ...
Procedure. The following Python script (run from a Jupyter Notebook interface) uses the clone_ite...
- 2Cloning Content | ArcGIS API for Python
clone_items() clones the dependencies for the more complex items listed above. For example, cloni...
- 3Arcgis python api clone items. 1K 27 The code runs and the ...
Arcgis python api clone items. ... in ArcGIS API for Python or the ArcGIS REST API: The cloning c...
- 4Solved: Can you use clone_items to move items from one por...
You can use the Python API to deep clone items and their dependencies using "clone_items" like th...
- 5Clone_items returns _ItemCreateException #924 - GitHub
I am attempting to clone a group of items in ArcGIS Online that inclues hosted ... OS: Windows 10...