Get ServiceProperties of TableView Object in Python

821
2
02-14-2014 05:31 AM
MichaelVolz
Esteemed Contributor
I am writing a python script to update SDE connections in mxds including standalone tables, but I need to find out the existing service properties so I can correctly update them.  Service properties are available for layer objects, but I cannot seem to find these properties for a tableview.

Does anyone know if this capability exists for python run with ArcMap v10.2.0?
Tags (2)
0 Kudos
2 Replies
NeoGeo
by
Occasional Contributor III
If I understand your question (I may not), it sounds like the property you want is "dataSource"

and i guess you are doing something like this to change it:
TableView.replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})
http://help.arcgis.com/en%20/arcgisdesktop/10.0/help/index.html#//00s30000004p000000

http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000017000000
0 Kudos
ChelseaRozek
MVP Regular Contributor

Michael is looking for serviceProperties, as seen midway down the page here for layers: Layer—Help | ArcGIS for Desktop 

Anyone else looking for this, upvote the idea here: Add 'serviceProperties' property to the Arcpy TableView class 

0 Kudos