Looking for a script to retrieve feature service from AGOL using token

362
0
06-09-2018 08:41 AM
JRAdams
New Contributor III

Not having luck with any I've found.

Usually get an error: Runtime error
Traceback (most recent call last):
File "<string>", line 54, in <module>
File "c:\program files (x86)\arcgis\desktop10.6\arcpy\arcpy\arcobjects\arcobjects.py", line 175, in load
return convertArcObjectToPythonObject(self._arc_object.Load(*gp_fixargs(args)))
RuntimeError: RecordSetObject: Cannot open table for Load

Have one working for ArcPro, but doesn't include a sign in. Would prefer to have one for ArcMap as I am connecting to an Access .mdb and would like to update this local copy with the retrieved feature service.

Would ideally like to have one that allows me to enter a name and password, generating a token as the script is ran. 

Thank you!! 

0 Kudos
0 Replies