Is it possible to use the ArcToolbox functions to interact with ArcGIS Online?
Or is ArcGIS Python API our only option?
I want to use the arcpy.management.CopyFeatures function to copy features from a local FGDB to AGOL.
arcpy.management.CopyFeatures("PROJECTS", r"https:\\services6.arcgis.com\X2SVGCoWmow4xMI3\arcgis\rest\services\PROJECTS\FeatureServer\PROJECTS", '', None, None, None)
when I execute this command in ArcGIS Pro I get this error:
Does the ArcToolbox work with ArcGIS Online?
Hi @GoWest
The Copy Features (Data Management) can only output to either a local shapefile or geodatabase.
I do not believe there is a tool in the ArcToolbox to publish but you can use the ArcGIS Python API as you mentioned.
Hope this helps