laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000170398
EingereichtAugust 30, 2024
Zuletzt geändertNovember 7, 2024
Gilt fürPortal for ArcGIS
Gefunden in Version10.9.1
BetriebssystemN/A
BetriebssystemversionN/A
StatusAs Designed

Zusätzliche Informationen

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.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000170398

Software:

  • Portal for ArcGIS

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln