| Numéro d’ID de bogue |
BUG-000170167 |
| Envoi | August 21, 2024 |
| Dernière modification | October 1, 2024 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 3.3 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | In Review
Ce problème est en cours d’examen. Le processus d’examen permet de s’assurer que le problème est facilement compréhensible et contient toutes les informations nécessaires, qu’il ne s’agit pas du doublon d’un problème existant et qu’il constitue une demande de bogue ou d’amélioration valide. Pendant cette phase, il se peut que vous soyez contacté pour une demande de précisions ou d’informations supplémentaires.
|
Solution de contournement
The issue is not reproducible in ArcGIS Pro 3.1.X or prior.
- Delete the existing tracking fields from the hosted feature class and allow the Enable Editor Tracking tool to recreate them.
- Omit the creation date field and the last edit date field while running the tool.
- Export the hosted feature layer to a file geodatabase in ArcGIS Online or in the portal, download the geodatabase, then add it to the ArcGIS Pro project.
- Use ArcPy field mapping to change the high precision to low precision when exporting the feature service (see sample code below).
# Fix Precision
fm_c = arcpy.FieldMap()
fm_c.addInputField(service_url, created_at_fname)
updated_out_field = fm_c.outputField
updated_out_field.precision = 0
fm_c.outputField = updated_out_field
field_mappings_corrected.addFieldMap(fm_c)
Étapes pour reproduire