ArcPy RefreshCatalog() function for ArcGIS Pro

3278
13
08-21-2023 01:49 AM
Status: Under Consideration
Labels (1)
Clubdebambos
MVP Regular Contributor

ArcPy for ArcMap has a RefreshCatalog() function as per Esri documentation.

Can this function be made available for ArcGIS Pro?

13 Comments
HannesZiegler
It would be so much easier if we could just have an arcpy command to do the refresh that is required.  Please?

@Michele_Hosking I think that'd be worth looking into as a separate ArcPy function for refreshing the data source but is outside the scope of this current idea discussion. Could you please log a separate idea for your request? This way it can be properly tracked and allows other users to express their support for your idea.

Michele_Hosking

Yes ok - but it's kind of not outside this idea discussion. The idea was for a replacement for the RefreshCatalog() command from ArcMap - which did all this just fine.

Here is the new idea:

https://community.esri.com/t5/arcgis-pro-ideas/refresh-datasource-arcpy-command/idi-p/1518601

OliviaHughes

I am having this same issue. I have a python script that does joins to a feature class that the user has in the map. The feature class is registered as Traditionally Versioned. I have found no successful way to refresh the layer in the user's map view other than the user manually right clicking on the database and refreshing it in their map. arcpy.RefreshLayer() does not work on versioned data. The old ArcMap version of our toolbox used the RefreshCatalog() function. We really need the equivalent of a RefreshDataSource or something in ArcGIS Pro to get the same functionality.