laptop and a wrench

Bogue

Unable to add a field using the DDLAddField2FeatureClass add-in on a feature class in an enterprise geodatabase in ArcGIS Pro SDK.

ArcGIS Pro SDK for .NET
Numéro d’ID de bogue BUG-000180019
EnvoiOctober 7, 2025
Dernière modificationDecember 16, 2025
S’applique àArcGIS Pro SDK for .NET
Version trouvée3.5
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
StatutAs Designed

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

ID de bogue: BUG-000180019

Logiciel:

  • ArcGIS Pro SDK for .NET

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement