Retrieving Row Data Dynamically within a Script's UI

402
2
09-16-2011 08:22 AM
SebastianPawlak
New Contributor II
Is there a data type that allows me to list row data from a specific field right within a script's UI?

I'm trying to enhance my script tool by allowing users to choose a row from a feature class right within the Script's UI. Currently the script requests X Y coordinates in a text box. Ideally, rows from a user-specified feature class should be updated dynamically and listed in a drop down menu (similar to what you can do with listing fields from a feature class within a script's UI).

Any idea's or suggestions?

Thanks
Sebastian
Tags (2)
0 Kudos
2 Replies
curtvprice
MVP Esteemed Contributor
Is there a data type that allows me to list row data from a specific field right within a script's UI?


This can be done using script tool validation.

Customizing script tool behavior (Arc 10.0 help)
0 Kudos
SebastianPawlak
New Contributor II
Thanks for your response. After some searching I managed to find an example of a tool that will do exactly what I'm looking for. For anyone else looking to do the same, here is the link:

Generating a choice list from a field
0 Kudos