| Numéro d’ID de bogue |
BUG-000180019 |
| Envoi | October 7, 2025 |
| Dernière modification | December 16, 2025 |
| S’applique à | ArcGIS Pro SDK for .NET |
| Version trouvée | 3.5 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 11.0 64 bit |
| Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
This behavior is as designed.
var fcName = selectedLayerTable.GetName();, returns fully qualified name (database_name.schema_name.table_name)
FeatureClassDescription does not allow dot (.) or other special characters in a feature class name. Strip database_name.schema_name from the feature class name before reusing it, as shown in the sample snippet below for enterprise geodatabases.
var fcDescription = new FeatureClassDescription(fcName.Split('.').Last(), fieldDescriptions, originalFeatureClassDescription.ShapeDescription);
Solution de contournement
As a temporary workaround, manually add the required fields using the Add Field geoprocessing tool in ArcGIS Pro. Refer to https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-field.htm for more information.
Étapes pour reproduire