agol export
Exported AGOL Hosted FC to local file geodatabase leaves CreationDate and EditDate alone with original Collector dates, but it changes the Creator and Editor to be the account used to export from AGOL manually or via python.
I tried some params as listed below but maybe there are more specific to the Creator and Editor that I am not aware of
and frankly am having a difficult time even finding documentation on these parameters and the preserveEditUsers... seems to be ignored in this case?!
The manual or via python download of AGOL Hosted feature to a fgdb changes the creator and edited by fields to be the account doing the download - I did take some input from a post regarding params for publishing that would preserver tracking data and when I try it, the export still runs but does not preserve the data.
ref: https://community.esri.com/thread/188155-publishing-to-agol-overwrites-editor-tracking-data
#Parameters for editor tracking
pub_params = {"editorTrackingInfo" : {"enableEditorTracking":'true', "preserveEditUsersAndTimestamps":'true'}}
AGOLitem.export(GDBname,'File Geodatabase', parameters=pub_params, wait=True)