Bogue
| Numéro d’ID de bogue | BUG-000163394 |
|---|---|
| Envoi | December 3, 2023 |
| Dernière modification | May 8, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 3.2 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 11.0 64 bit |
| Statut | 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
ID de bogue: BUG-000163394
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support