ERROR

The domains for this workspace are read-only

Last Published: June 8, 2022

Error Message

In ArcGIS Pro, domains of a hosted feature layer are not editable, and the following error message is returned in the Domains view.

Error:
The domains for this workspace are read-only.
The domains in the Domains view are not editable with the error message displayed in the Domains view.

Cause

Domains of a feature layer are stored in a geodatabase. Adding a hosted feature layer into ArcGIS Pro directly from ArcGIS Online does not permit access to the geodatabase storing the domains.

Solution or Workaround

There are two possible solutions to edit the domains.

Edit the domain in the Data tab in ArcGIS Online

Edit the domains of the hosted feature layer directly in ArcGIS Online through the Data tab in the layer's item details page. Refer to FAQ: Is it possible to add or edit domains after a feature service is published in ArcGIS Online? for more information.

Add a folder connection in ArcGIS Pro

  1. In ArcGIS Online, export the hosted feature layer to a file geodatabase.
    1. Log in to ArcGIS Online. Click Content > My Content.
    2. Browse to the hosted feature layer, click More Options The More Options icon., and click View item details.
    3. On the item details page, click Export Data and select Export to FGDB. Refer to ArcGIS Online: Export data from hosted feature layers for more information.
    4. In the Export to File Geodatabase window, provide the title, tags, and summary for the file geodatabase. Specify the folder to save the file geodatabase, and click Export.
In the Export to File Geodatabase window, there are columns of the title, tags, and summary and specify the folder to save the file. The Export option is at the bottom-right of the window.
  1. On the file geodatabase’s item details page, click Download.
In the file geodatabase's item details page, there is the Download option at the right-side of the page.
  1. Open Windows File Explorer and browse to the zipped file geodatabase folder. Right-click the folder and select Extract All… to unzip the file.
When right-clicking the folder in Windows File Explorer, there is the Extract All... option to unzip the file geodatabase folder.
  1. In ArcGIS Pro, add a folder connection to the file geodatabase to enable editing of the domains.
    1. Launch ArcGIS Pro and open the project.
    2. In the Catalog pane, on the Project tab, click Folders to add a folder connection to the file geodatabase. Refer to ArcGIS Pro: Connect to a folder for instructions.
    3. Browse to and right-click the layer and select Add to Current Map.
    4. In the Contents pane, right-click the layer, and click Data Design > Domains. The domains in the Domains view are editable in ArcGIS Pro.
The domains are editable and there is no error message in the Domains view.
  1. Optionally, to reflect the changes made to its source data, overwrite the layer to ArcGIS Online. Refer to ArcGIS Pro: Overwrite a web feature layer for instructions.

Article ID:000026479

Software:
  • ArcGIS Online
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 7 x
  • ArcGIS Pro 2 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options