Hi,
I wanted to change the datasource of layers in my mxd but my script is not doing this. I am using below:
lyr.replaceDataSource(layer.workspacePath,"SDE_WORKSPACE",newFeatureclassPath, False)
Please help if anybidy has done this before.
Thanks & Regards
I wanted to change the datasource of layers in my mxd but my script is not doing this. I am using below:
lyr.replaceDataSource(layer.workspacePath,"SDE_WORKSPACE",newFeatureclassPath, False)
Please help if anybidy has done this before.
Thanks & Regards