Numéro d’ID de bogue |
BUG-000158537 |
Envoi | May 24, 2023 |
Dernière modification | March 26, 2025 |
S’applique à | ArcGIS Pro |
Version trouvée | 3.1.1 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
This is a known limitation. Any required or geodatabase-managed fields are not loaded into the field map by default. If editor tracking fields are needed, they can be added to the field map in the following script:
```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
Étapes pour reproduire
ID de bogue: BUG-000158537
Logiciel: