MultiValue Parameter with Multiple Columns?

860
4
05-20-2011 11:53 AM
ThomasWilliams1
New Contributor
This might be a simple question, but I haven't been able to find a straightforward answer.

I'm working on an ArcGIS (9.3) Python script. One of the inputs is a list of features. For each feature, I need to select a corresponding field. Setting the parameter to MultiValue gives a nice table in the UI for all the features being processed. How do I add another column to the MultiValue table to select a field for each feature?
Tags (2)
0 Kudos
4 Replies
JasonScheirer
Occasional Contributor III
Unfortunately, the solution for this was implemented just recently for 10.1 with ValueTable inputs for script tools. You will need to have two multivalue parameters with some custom validation to make this work for 9.3.1.
0 Kudos
MikeMacRae
Occasional Contributor III
Just to re-iterate, this is coming for 10.1? This is also not available in 10.0?

Thanks,
Mike
0 Kudos
JasonScheirer
Occasional Contributor III
Yes, it'll be in 10.1 as a Value Table parameter.
0 Kudos
GeorgeRaber
New Contributor II
Yes, it'll be in 10.1 as a Value Table parameter.


Now that the pre-release is available, would it be possible to discuss how this is done in 10.1.  I understand how to have a value table as an input parameter, but not how to make it prompt the user using the list of fields from the selected feature layer(s) in the user places in the value table.
0 Kudos