laptop and a wrench

Erro

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 do Erro BUG-000170398
EnviadoAugust 30, 2024
Última ModificaçãoNovember 7, 2024
Aplica-se àPortal for ArcGIS
Versão encontrada10.9.1
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusAs Designed

Informações Adicionais

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.

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: BUG-000170398

Software:

  • Portal for ArcGIS

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download