Bug
| Bug-ID-Nummer | BUG-000163394 |
|---|---|
| Eingereicht | December 3, 2023 |
| Zuletzt geändert | May 8, 2025 |
| Gilt für | ArcGIS Pro |
| Gefunden in Version | 3.2 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 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:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen