Select to view content in your preferred language

Create List of values from field in Model Builder

533
1
11-09-2022 08:55 PM
CourtneyWatson
New Contributor III

For context I am trying to add the model tool from the second part of this blog to my model: Generating a Choice List from a Field (esri.com)

What my model does is allow a user to enter an email and a Site ID manually and the model selects all the features within that Site ID and emails the shape file to the nominated email.  I am trying to add a pick list for the Site ID generated from a polygon that has all the unique values in a field.

The issue I am facing is that the model is pulling one value from the field but not generating a list of all the values.

I've customised the tool according to the blog and updated:

Input Feature Class to my Work Area polygon,

Field = 'Site ID' and

Value, which I assumed is what should be a list of all the values in the Site ID field from the input polygon 

When I open the Value variable as you can see there is only one value

CourtneyWatson_1-1668054734125.png

Any advice on where I am going wrong?

 

 

 

 

1 Reply
LindsayRaabe_FPCWA
Regular Contributor II

I've had this same problem - but have found a solution! Read here: Solved: Re: How to use attributes from specified field as ... - Esri Community

Lindsay Raabe
GIS Officer
Forest Products Commission WA
0 Kudos