DOC
|
I was able to get this to work for all of my hosted feature services. Thank you for everyone's help! This is a great tool! Steven
... View more
01-02-2018
12:08 PM
|
0
|
0
|
3753
|
DOC
|
Hi Gijs, Thank you for your help! I think you are correct, there is a problem during the credential verification that is preventing the data from being copied. That particular hosted feature layer is only shared with a group and only that group can edit it so that is probably the issue. I swapped it out with a hosted feature layer that is shared with the public and it ran correctly. Thanks again for your help! I greatly appreciate it! Steven Castongia, GISP GIS Supervisor scastongia@charlottenc.gov<mailto:scastongia@charlottenc.gov> 704-336-3816
... View more
12-19-2017
07:29 AM
|
0
|
0
|
3753
|
DOC
|
Hi Gijs, I have no set timeframe on getting this done but it is something I want to implement so that I can copy our hosted feature service data out of the cloud. Below is my script. The first print statement "made it this far" will display while running the script but the last print statement "cameras copied" will not, which tells me that the tool is not executing correctly. Thanks for your help! import arcpy import os import urllib2 import urllib import json import math import sys import linecache import DownloadServicewithAttachments_2x arcpy.env.overwriteOutput = 1 # overwrite output is true print "made it this far" #ITSAsBuilts/Camera DownloadServicewithAttachments_2x.downloadservice2x("true", "", "https://services.arcgis.com/9N1857LB1QVyzq54/arcgis/rest/services/ITSAsBuilts/FeatureServer/0", "", "true", "", "AGOLUsername", "password", r'd:\temp\temp.gdb\ITSAsBuilts_Camera', "", "") print "cameras copied"
... View more
12-15-2017
01:57 PM
|
0
|
0
|
3753
|
DOC
|
Thanks, Jake! I have been trying to use your example and that fixed that error message. The problem I am having now is that it is not executing anything. It returns "exit code" but it didn't actually export the hosted feature service. Steven
... View more
12-15-2017
01:22 PM
|
0
|
0
|
3753
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|