mvolz47

Resource Standalone Table Sourced from SDE

Discussion created by mvolz47 on May 28, 2013
Latest reply on May 29, 2013 by mvolz47
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?

Outcomes