i have a mxd that has broken SDE links ( well i have a lot of them) i am fine running a script one mxd at a time to repair the broken sources. some of the features are now in feature classes, to clean up the SDE location. some are still there. how do i write a script that will look to the mxd i want it to and repair the SDE connection to find the feature.
also if the feature had been renamed how do i tell the the script to look for (old) and replace with (new)
i have looked at the generic "repair broken sources script" and i just cannot wrap my head around how to use this.