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

When adding a python script to a toolbox in Arcgis one of the steps is to set parameters and specify what Data Type each requires. The list is long, perhaps a hundred, and many are not immediately understandable. For example I just tried to require data type "Database Connections", but when I run the tool and select "Database Connections\Connection to foobar.sde" I'm told the item is invalid. Aww nuts.

Now I could just ask "what is the "Database Connection" data type?" here on and get on with my work, but then tomorrow I'll have to do it again for Disk Connection and Decimate. (might do wonders for my reputation level though...) So lets just get 'em all in one go, I hope:

Where do I find the definitions of all the Data Types available for tool parameters?

enter image description here

share|improve this question
up vote 9 down vote accepted

Here you go:

From: Data types for geoprocessing tool parameters

To answer your specific question, I belive you would want to use a Workspace parameter which will let you specify an SDE connection file, then use filters to limit the workspace type (see screenshots in comment below).

share|improve this answer
Is this one way you could update sde with a gp service. I couldn't figure out how to do that so I just wrote to a shapefile. Check… – Justin Apr 18 '12 at 21:12
No idea about GP services, sorry. – blah238 Apr 18 '12 at 23:18
thanks! Dunno how I missed that, since I did see that page in my searches; had my no-pdf's blinkers on I suppose. And for nitpicking clarity: the answer to my problem is use Workspace parameter (but that doesn't restrict to sde workspaces, which was the initial goal), and the answer to the specific question is "The Database Connections worktype is The database connection folder in ArcCatalog." – matt wilkie Apr 19 '12 at 16:23
You can specify a filter for Workspaces: Step 1, Step 2 – blah238 Apr 19 '12 at 17:07
I converted the pdf to .xlsx and html for easier searching and viewing, stored at for the moment. – matt wilkie Apr 19 '12 at 17:10

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.