PROBLEM

Unable to export datasets using the Export XML Workspace Document in ArcGIS Pro

Last Published: August 16, 2023

Description

In ArcGIS Pro, attempts to export datasets using the Export XML Workspace Document tool fail, and return the error shown below.

Error:
ERROR 160666: No datasets found to export.
Error message.

This article provides two workarounds.

Cause

The tool is running on an empty file geodatabase. The Export XML Workspace Document requires existing data such as feature classes.

Solution or Workaround

Export the feature class

  1. Search and select Export XML Workspace Document (Data Management) from the Geoprocessing pane.
  2. In the Input Data parameter, select the feature class to export. In this example, SingularFeatureClass is selected.
  3. Click Run.
Export XML Workspace Document parameters for singular feature class.

Convert the feature classes to a geodatabase

  1. Search and select Feature Class To Geodatabase (Conversion) from the Geoprocessing pane. To convert one or more feature classes to geodatabase feature classes, refer to ArcGIS Pro: Feature Class To Geodatabase (Conversion).
  2. Configure the Feature Class To Geodatabase parameters.
    1. For Input Features, select the feature class. In this example, the shapefile, PointZvalue.shp, is selected.
    2. Click Run.
Feature Class to Geodatabase parameters.
  1. Refresh the output of the geodatabase to view the imported feature class. For more information and instructions, refer to ArcGIS Pro: Refresh a location's content.
  2. Search and select Export XML Workspace Document (Data Management) from the Geoprocessing pane.
    1. For Input Data, select the geodatabase. In this example, New File Geodatabase is selected.
    2. Click Run.
Export Workspace Document parameters.

Article ID: 000030687

Software:
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 9x

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

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options
Esri Support AI Chatbot