1

ArcCatalog has a useful Set Data Source tool which allows for rapidly updating multiple data sources in a map document that have changed.

Is there a similar functionality in ArcGIS Pro for project files, or within a project?

I can presumably also script a solution like Repairing data sources in multiple MXDs using ArcPy?, but not all our team members have the same skill level.

0

2 Answers 2

4

You can do this with ArcPy and a few lines of code.

import arcpy
aprx = arcpy.mp.ArcGISProject(r'C:\Projects\YosemiteNP\Yosemite.aprx')
aprx.updateConnectionProperties(r'C:\Projects\YosemiteNP\Data\Yosemite.gdb',
                                r'C:\Projects\YosemiteNP\Vector_Data\Yosemite.gdb')
aprx.save()

The code above is from Updating and Fixing Datasets.

0
1

For me at least the ArcPy solution didn't work (it ran, but nothing changed). There is a (rather cumbersome) process using the Catalog View in ArcGIS Pro. It's documented here: https://pro.arcgis.com/en/pro-app/latest/help/projects/update-data-sources.htm

This only kind of worked for me (3.0.1); my layers remained broken, but then when I fixed one of them manually, the rest all got fixed too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.