I have a tool in a Python toolbox. As a parameter, I want to let the user select an existing (or possibly create a new) SDE connection. What value for datatype
should I use for this?
I have tried DERemoteDatabaseFolder
, definied by the documentation as:
The database connection folder in ArcCatalog.
However, it only lets me select files of mysterious "Basic Types" and does not show me any SDE files. I also tried DEFile
, setting param.filter.list = ['sde']
. But that options required the user to find the SDE files on her own, which is not so easy if they are located somewhere in the AppData\Roaming
folder.
Is there any better alternative?