I have a Map Document with a bunch of raster layers referenced by drive letter and need to change them to UNC paths. I've tried all the methods with the Map Document and by Layer to change the paths. The methods work for Feature Layers but not for the Raster Layers. If I add the layers manually to the map document they get added with the UNC path, then I can symbolize, rename and save. That is lame though!
Is this still a bug?
https://community.esri.com/message/205282#comment-205282
tried:
mxd.findAndReplaceWorkspacePaths()
mxd.replaceWorkspaces()
lay.replaceDataSource()
lay.findAndReplaceWorkspacePath()