Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Resource Standalone Table Sourced from SDE

$
0
0
To All Python Developers:

I need to create a python script that will resource all standalone tables sourced from SDE. I was able to build this code for layers in an mxd but I am having problems with standalone tables. I need to get the current properties of the standalone table, so I know exactly how to resource the table (e.g. user in SDE, instance of SDE). I was able to get to this information for layers from serviceProperties of the layer object. Unfortunately I receive an error that this property is not supported for a tableview object.

As such how else can I obtain this information so I can build the appropriate SDE connection file (.sde) when using replaceDataSource to resource the standalone tables sourced from SDE?

Viewing all articles
Browse latest Browse all 2485

Trending Articles