laptop and a wrench

Error

Field aliases are returned instead of the field names when trying to execute the GetFeatureInfo and DescribeFeatureType operations on the Web Feature Service (WFS) service.

Portal for ArcGIS
Número de ID del error BUG-000170398
EnviadoAugust 30, 2024
Última modificaciónNovember 7, 2024
Relacionado conPortal for ArcGIS
Versión encontrada10.9.1
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoAs Designed

Información adicional

When publishing a WFS service, the field aliases are used by default and modified to fit the criteria of a field name (i.e. replace spaces with underscores etc.). The documentation isn't clear on this, the documentation will be updated for WFS services. Use the ignoreAliases service property as described in the workaround section to force the service to use field names instead of field aliases.

Solución alternativa

Set the ignoreAliases WFS service property to true to force the service to use the field names instead of the field aliases.

Steps:

1. Sign in to the ArcGIS Server REST admin api, e.g. https:///server/admin

2. Under Resources, click Services and the service to be enabled.

3. Scroll to the bottom and select Edit under the Supported Operations section. This shows the service properties in JSON format.

4. Scroll to find the section where typeName: WFSServer.

5. In the Properties section, under serviceType:, add a new line ignoreAliases: true.

6. Click the Save Edits button.

7. The service now uses the field names instead of the field aliases. Refer to this documentation https://developers.arcgis.com/rest/enterprise-administration/server/extensiontypes/#wfsserver for more information about the ignoreAliases and other WFS service properties.

Pasos para reproducir

ID del error: BUG-000170398

Software:

  • Portal for ArcGIS

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