Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently experienced some troubles in adding a table from a specific folder to the TOC using a Python script. Any idea on how can I solve?

Thanks, Annalisa

share|improve this question
can you better explain your issue? the better your question, the better your answers. – Craig Mar 1 '13 at 16:28
my problem is that, using a python script, I'd like to add a table view to the TOC once created because I found that evenif the script creates the tableView in the workspace folder, the same table is not autmatically added to the TOC and other operations on the table cannot be performed. Moreover I have the ArcGIS 10.0 version, so I cannot use the command arcpy.mapping.AddTableView, as correctly suggested by @artwork21.. any ideas? – Annalisa Minelli Mar 14 '13 at 10:20

I'm not sure what error you may be getting, but in general you can use arcpy.mapping.AddTableView to add a standalone table into ArcMap TOC.

share|improve this answer
@AnnalisaMinelli AddTableView will only be available if you are using ArcGIS 10.1 or later – PolyGeo Mar 2 '13 at 19:43
thanks to artwork21 and PolyGeo. My problem was exactly this: I got only ArcGIS 10.0. No way to do this in that version? – Annalisa Minelli Mar 14 '13 at 10:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.