laptop and a wrench

Bug

A WMS service with a layer name containing a space is treated as a duplicate layer name and a number is added to its <Name> tag in the GetCapabilities response.

Portal for ArcGIS
Bug ID Number BUG-000161993
SubmittedOctober 10, 2023
Last ModifiedJuly 8, 2024
Applies toPortal for ArcGIS
Version found11.1
Operating SystemN/A
Operating System VersionN/A
StatusAs Designed

Additional Information

WMS Server assigns a unique name if there is a space in the layer name as documented in https://enterprise.arcgis.com/en/server/latest/publish-services/windows/available-wms-service-properties.htm.

Workaround

  • Do not use spaces in the layer name before publishing.
  • Do not use the option 'Use layer names from the Map' in the WMS configuration.
    • The <Name> tag then uses the layer ID number.

Steps to Reproduce

Bug ID: BUG-000161993

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