Select to view content in your preferred language

replaceDataSource with coverage does not work

3031
1
02-01-2014 08:12 PM
jgers
by
Emerging Contributor
I am trying to modify the data source for some coverage layers by using replaceDataSource to change the workspace to a new location.  The new workspace does not have the coverages created yet, so I should be able to set the replaceDataSource validate option to False to create a broken layer data source placeholder.   When I try this, the data source remains unchanged, so either it's a bug or I am doing something wrong.  I am using 10.1 SP1.
0 Kudos
1 Reply
jgers
by
Emerging Contributor
I found a work around that's not ideal, but it works.  I just simply create a dummy coverage until the real one is created in the new workspace.
0 Kudos