laptop and a wrench

Bug

The attributes of a feature layer in the query response in ArcGIS REST API are arranged in an incorrect order.

Portal for ArcGIS
Bug ID Number BUG-000156133
SubmittedFebruary 27, 2023
Last ModifiedFebruary 18, 2025
Applies toPortal for ArcGIS
Version found10.9
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

The order of the fields in a JSON response is never guaranteed. The client's API can order the field or use kay or a value pair to get the data and display it as preferred.

Workaround

Add the attributes in the right order to the 'Out Fields' parameter or publish the data as a map image layer.

Steps to Reproduce

Bug ID: BUG-000156133

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options