Considering I Can use the right click –> set datasource at an mxd file to change the datasource.
The following pictures describes how this can be done in arcmap..
How can I see the arcpy / python code behind that process? Is there any sort of logging or debuging of what arcmap is doing on the back ? I suppose it calls the same arcpy functions as sb would call to perform the same result?
Question 2// COuld I see in some way the code behind “Set Datasource Tool” of arcmap.? If I will do this I will have my problem resolved