laptop and a wrench

Bug

Closing the swap source process while it is still running on a hosted layer view causes the update view dialog to become unresponsive. As a result, the Data tab displays no information, and the Visualization tab fails to render the layer view.

ArcGIS Online
Bug ID Number BUG-000176931
SubmittedJune 4, 2025
Last ModifiedJune 23, 2025
Applies toArcGIS Online
Version foundFeb 2025
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusWill Not Be Addressed

Additional Information

This is expected behavior when the view workflow is closed before the swap source operation completes. The process is interrupted after the reference to the old source layer is removed but before the new source layer is referenced, resulting in an empty feature service.

Workaround

The current workaround for fixing the hosted layer view is to:

  1. Create a Separate View Layer
  2. Copy the Layer's JSON:
    1. Navigate to the REST Directory.
    2. Select the option 'Add to Service Definition'.
    3. Copy the layers JSON.
  3. Access the Original View Layer:
    1. Navigate to the REST Directory of the original view layer.
    2. Go to the Admin section.
    3. Select Add to Definition.
  4. Remove Existing JSON:
    1. Delete all existing JSON in the definition.
  5. Paste the New Layer JSON:
    1. Paste the copied Layer JSON from the new view into the definition.
  6. Verify Repair:
    1. Confirm that the Swap Source Button, Data tab, and Visualization tab in the view layer are now functioning correctly.

Steps to Reproduce

Bug ID: BUG-000176931

Software:

  • ArcGIS Online

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