Select to view content in your preferred language

Is it possible to get drop-downs on a record set parameter in a script tool

2671
2
09-11-2014 11:04 AM
EvanLevy
Deactivated User

I am currently working on making a Python script into a script tool in ArcGIS 10.1. I have a record set created based on a table template for the necessary items I need. I prefer to have drop-downs for predetermined items the user can select rather than have users type in the factors. I tried setting up attribute domains in the template table with the predetermined items I want to feed the tool but it did not work and still requires the user to type in the items. Is there a way to make this work?

0 Kudos
2 Replies
RiyasDeen
Frequent Contributor

Hi Evan,

Try using Value list.

Untitled.png

0 Kudos
EvanLevy
Deactivated User

I know you are able to do a value list with a string, but I need to do the same type of thing for a record set.  I have multiple strings that need to be used in combination with each other to create a dictionary from the inputs in my python script.  So my question is if there is a way to do a value list for record set values.  I thought setting up an attribute domain in the table template I used in the schema variable of the parameter would do the trick but it didn't.

0 Kudos