laptop and a wrench

Bug

Portal for ArcGIS swaps fields of aggregation result layers.

Last Published: December 28, 2021 Portal for ArcGIS
Bug ID Number BUG-000143968
SubmittedOctober 25, 2021
Last ModifiedOctober 10, 2025
Applies toPortal for ArcGIS
Version found10.8.1
Operating SystemWindows OS
Operating System Version2019 64 Bit
Version Fixed10.9
StatusFixed

Workaround

  • Republish the service without the two fields or, if not applicable.
  • Modify the .msd file the polygon feature service is based on, which is located in arcgisinput/xxx.mapServer/extracted/p20/xxxx.msd.
    • Open the file using a zip tool (e. g. 7zip).
    • Navigate to the map directory.
    • Choose the desired XML, open externally and modify the visible tag for the two fields (area and length), for example:

<CIMFieldDescription xsi:type='typens:CIMFieldDescription'>

<Alias>GEM_NAME</Alias>

<FieldName>gem_name</FieldName>

<Highlight>false</Highlight>

<ReadOnly>false</ReadOnly>

<Visible>true</Visible>

<ValueAsRatio>false</ValueAsRatio>

<Searchable>false</Searchable>

<SearchMode>Exact</SearchMode>

</CIMFieldDescription>

  • Replace the current XML in the .msd file with the modified one.
  • Restart the service.

Steps to Reproduce

Bug ID: BUG-000143968

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