Bug
| Bug ID Number | BUG-000163394 |
|---|---|
| Submitted | December 3, 2023 |
| Last Modified | May 8, 2025 |
| Applies to | ArcGIS Pro |
| Version found | 3.2 |
| Operating System | Windows OS |
| Operating System Version | 11.0 64 bit |
| Status | Known Limit |
fc = "DBO.Points"
desc = arcpy.Describe(fc)
fms = arcpy.FieldMappings()
fms.addTable(fc)
if desc.editorTrackingEnabled:
tracking_fields = [
desc.creatorFieldName,
desc.createdAtFieldName,
desc.editorFieldName,
desc.editedAtFieldName
]
for tf in tracking_fields:
fm = arcpy.FieldMap()
fm.addInputField(fc, tf)
fms.addFieldMap(fm)
arcpy.conversion.ExportFeatures(fc, "memory/test", field_mapping=fms)
For more information on accessing tracking field information via arcpy.Describe(), see https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/editor-tracking-properties.htm
Bug ID: BUG-000163394
Software:
Get help from ArcGIS experts
Download the Esri Support App