Solved: Can you use clone_items to move items from one por...
文章推薦指數: 80 %
You can use the Python API to deep clone items and their dependencies using "clone_items" like the following: source_gis = arcgis.gis.
Community
AllCommunities
Products
ArcGISSurvey123
ArcGISPro
ArcGISOnline
ArcGISEnterprise
DataManagement
Geoprocessing
ArcGISWebAppBuilder
ArcGISCollector
ArcGISCityEngine
ArcGISDashboards
ArcGISSpatialAnalyst
AllProductsCommunities
Industries
Education
WaterResources
GasandPipeline
State&LocalGovernment
Transportation
WaterUtilities
Telecommunications
RoadsandHighways
NaturalResources
Electric
PublicSafety
AllIndustriesCommunities
Developers
Python
ArcGISAPIforJavaScript
ArcGISRuntimeSDKs
ArcGISAPIforPython
ArcObjectsSDK
ArcGISProSDK
Developers-General
ArcGISAPIforSilverlight(Retired)
ArcGISAPIforFlex(Retired)
ArcGISRESTAPI
ArcGISforWindowsMobile(Retired)
AllDevelopersCommunities
Worldwide
ComunidadEsriColombia-Ecuador-Panamá
ArcGIS開発者コミュニティ
CzechGIS
ArcNesia
EsriIndia
GeoDevGermany
EsriItaliaCommunity
ArcGISContent-EsriNederland
SwissGeoCommunity
GeoDevSwitzerland
ComunidadGEOTEC
AllWorldwideCommunities
AllCommunities
Products
Developers
UserGroups
Industries
Services
Worldwide
CommunityBasics
Events
Learning
ArcGISTopics
Networks
ViewAllCommunities
ArcGISIdeas
CommunityBasics
CommunityHelpDocuments
CommunityBlog
CommunityFeedback
MemberIntroductions
CommunityIdeas
SignIn
cancel
Turnonsuggestions
Auto-suggesthelpsyouquicklynarrowdownyoursearchresultsbysuggestingpossiblematchesasyoutype.
Showingresultsfor
Show only
|
Searchinsteadfor
Didyoumean:
Cancel
Home
:
AllCommunities
:
Developers
:
ArcGISAPIforPython
:
ArcGISAPIforPythonQuestions
:
Canyouuseclone_itemstomoveitemsfromonepor...
Options
SubscribetoRSSFeed
MarkTopicasNew
MarkTopicasRead
FloatthisTopicforCurrentUser
Bookmark
Subscribe
Mute
PrinterFriendlyPage
Canyouuseclone_itemstomoveitemsfromoneportaltoanother?
Subscribe
2825
2
Jumptosolution04-09-201803:21PM
by
JamesGustine
NewContributorIII
04-09-2018
03:21PM
MarkasNew
Bookmark
Subscribe
Mute
SubscribetoRSSFeed
Permalink
Print
EmailtoaFriend
ReportInappropriateContent
Willthisworkformovingitemsfromoneportaltoanother? arcgis.gismodule—arcgis1.4.0documentation Ifnot,isthereacopy_itemswithasourceandtarget?Thanks!
Solved!
GotoSolution.
Reply
0
Kudos
AllPosts
PreviousTopic
NextTopic
1Solution
AcceptedSolutions
by
AaronPulver
EsriRegularContributor
04-09-2018
04:32PM
MarkasNew
Bookmark
Subscribe
Mute
SubscribetoRSSFeed
Permalink
Print
EmailtoaFriend
ReportInappropriateContent
Theago-clone-itemsrepoisdeprecatedsincethefunctionalitywasmovedintothePythonAPI.Youcanusethe Python APItodeepcloneitemsandtheirdependenciesusing"clone_items"likethefollowing: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("
延伸文章資訊
- 1Clone_items returns _ItemCreateException #924 - GitHub
I am attempting to clone a group of items in ArcGIS Online that inclues hosted ... OS: Windows 10...
- 2Copying Items Between Portals Using Python | Getech
Sometimes it's extremely useful to be able to manage your Portal via scripting and handily Esri p...
- 3ago-clone-items/clone_items.py at master - GitHub
Tools used to clone items between ArcGIS Online and ArcGIS Enterprise organizations ... Represent...
- 4Cloning Content | ArcGIS API for Python
clone_items() clones the dependencies for the more complex items listed above. For example, cloni...
- 5Arcgis 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...