laptop and a wrench

Error

Field order is not preserved at REST for referenced map services published from ArcGIS Pro.

Última publicación: February 24, 2020 ArcGIS Pro
Número de ID del error BUG-000125284
EnviadoSeptember 16, 2019
Última modificaciónJuly 21, 2025
Relacionado conArcGIS Pro
Versión encontrada2.4.2
Sistema operativoWindows OS
Versión de sistema operativo2016 64 Bit
Versión corregida2.6
EstadoFixed

Solución alternativa

The workaround is to manually change the field order in a layer file to get the field order to show up correctly in the web map pop-ups.

1. Right-click a layer and select 'Sharing' or 'Save As Layer File'.

2. Open the exported LYRX file in a text editor.

3. Search "fields" : [

4. In the lines below, rearrange the field order. Make sure the last item does not contain a comma. For example:

      "fields" : [

       "device_type",

       "circuit_id",

       "owner_name",

       "date_installed",

       "esri_default_style"

      ]

5. Save the LYRX file.

6. For the same layer exported, go to 'Symbology' and select 'Import symbology'.

7. Browse to the LYRX file and select it.

8. The fields now reflect the order set in the LYRX file.

Follow the same steps for any future edits to field order.

Pasos para reproducir

ID del error: BUG-000125284

Software:

  • ArcGIS Pro

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