Hi all,
I'm trying to replace some datasources and I ran into the following issue with enterprise databases.
My replacements are in a dictionary of {oldsource: new source}.
The data is accessed through an SDE file, at T:\...\SDENAME.sde
So the catalogPath should be T:\...\SDENAME.sde\gdb.owner.featureclass
However, the following is what arcpy.da.Describe["catalogPath"] returns:
C:\TMP\ArcGISProTemp13528\8850eb38373ef1ba0d601f80c13fcdef.sde\featureDataset\featureclass
My dictionary is
{T:\...\SDENAME.sde\gdb.owner.featureclass : T:\...\SDENAME2.sde\gdb.owner.featureclass2} so this doesn't work for me.
I recall from other posts that this is normal, but I can't remember how to actually get a usable path that I want?