Tool parameter types - drag'n drop ? (10.0 SP 5)

438
2
02-18-2013 11:17 PM
ØyvindIdland
New Contributor III
I got a custom python tool, and one of the parameters is of type "File". Also, we got users requesting drag'n drop support from Catalog, dropping multiple files into the control.

Drag and drop does not seem work on parameter type "File". However, if I change the datatype to e.g. "Raster Dataset", i get full drag 'n drop. Unfortunately I need to be able to handle random file extensions here.

I can't find any documentation on this. Is there any way to get around this ?


- Oyvind
0 Kudos
2 Replies
BarbaraSieg
New Contributor III
In the toolbox script object, set the parameter property "MultiValue" to Yes. This turns the input into a multi-value control and maintains the data type.
0 Kudos
ØyvindIdland
New Contributor III
My question was about drag & drop support for parameter type "File", multivalue or not.

I got around it by setting the type to "data element".
0 Kudos