laptop and a wrench

Error

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
Número de ID del error BUG-000180019
EnviadoOctober 7, 2025
Última modificaciónDecember 16, 2025
Relacionado conArcGIS Pro SDK for .NET
Versión encontrada3.5
Sistema operativoWindows OS
Versión de sistema operativo11.0 64 bit
EstadoAs Designed

Información adicional

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);

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000180019

Software:

  • ArcGIS Pro SDK for .NET

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga