How To: Use the 'Set Data Source' tool for map documents in ArcCatalog
Note: This article pertains to ArcGIS versions 9.x. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.
Instructions provided describe how to use the Set Data Source tool for map documents in ArcCatalog. When right-clicking a map document (.mxd) file in ArcCatalog, a Set Data Source command is visible. This opens a dialog box that makes it easier to update or repair some or all of the references to file-based data sources in the map. By default, this dialog box creates a copy of the .mxd file. This option is also available by right-clicking a published map (.pmf) file, although it is disabled if the publisher of the .pmf file selected not to provide full access to its contents in ArcGIS applications when it was published.
The Set Data Source tool cannot be used to update or repair references to data in ArcSDE geodatabases.
The Set Data Source tool does not support VBA customizations. Any VBA customizations are not included in the output MXD.
The Set Data Source tool does not support personal geodatabase annotation layers at this time. This is a known limit and is scheduled to be fixed in a future release of the software.
Follow these steps to set the data source for an MXD in ArcCatalog.
- Right-click an MXD in ArcCatalog and click Set Data Source(s).
- The default creates a copy of the MXD. It is recommended that a copy be used and the original MXD be kept as a back-up. However, the existing MXD can be overwritten by selecting it or typing its full path.
- Select a data frame or all data frames.
- Select a layer or press the Select All button.
- Click Replace or Replace All.
- The Replace dialog box does a 'find and replace' on the paths to the data. Type the 'find and replace' text to match the data. For example, if all the data was in C:\GISData but it has been moved to C:\GISData2, the Find What text box shows C:\GISData and the Replace With text box shows C:\GISData2.
- Click Replace.
- Click OK in the Set Data Sources dialog box.
Last Published: 3/19/2020
Article ID: 000007165
Software: ArcMap 10.8, 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5, 10.4.1, 10.4, 10.3.1, 10.3, 10.2.2, 10.2.1, 10.2, 10.1, 10