laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000170398
EnvoiAugust 30, 2024
Dernière modificationNovember 7, 2024
S’applique àPortal for ArcGIS
Version trouvée10.9.1
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutAs Designed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000170398

Logiciel:

  • Portal for ArcGIS

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