AnsweredAssumed Answered

CopyFeatures_management doens't include globalid

Question asked by dbecker88 on Aug 24, 2018
Latest reply on Aug 27, 2018 by jborgion

fields = "*"

where = "objectid > 0"

gdbfc = os.path.join(localgdb,"intercept_" + layerName +"_"+ str(dtstr))

query = "/query?where={}&outFields={}&returnGeometry=true&f=json&token={}".format(where, fields, token)
fsURL = baseURL + layerID + query

fs = arcpy.FeatureSet()


arcpy.CopyFeatures_management(fs, gdbfc)


the resulting feature class doesn't contain any globalid values, (doesnt' even contain the field) but I can see them in the featureSet. Any pointers on how to include the original globalid values? They are used for relationships and are important.