<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pass input fields to field selection, and script within Validator in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103462#M7981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i´m trying to do something very similar, but got one problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the tool i want to specify one shapefile and from its fields i want to use a some for calculations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the user should specifiy those fields and the field selection should be limited to fields containing a certain string in their name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this is my code for filtering the 1st field - the rest would look pretty much the same...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
def updateParameters(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Modify the values and properties of parameters before internal
&amp;nbsp;&amp;nbsp;&amp;nbsp; validation is performed.&amp;nbsp; This method is called whenever a parmater
&amp;nbsp;&amp;nbsp;&amp;nbsp; has been changed."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; infeat = str(self.params[0].value)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; self.params[1].filter.list = [str(field.name) for field in arcpy.Describe(infeat).fields if "DTV" in str(field.name)]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the initialize/update parameters are both unchanged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the filter seems to work and only displays those fields that contain "DTV" in their name -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but if i select one of the filtered fields in the tool, i get an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"000800 : The value is not a member of &amp;lt;value&amp;gt;." - but i´m sure the value is one of those in the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:21:47 GMT</pubDate>
    <dc:creator>RaphaelR</dc:creator>
    <dc:date>2021-12-11T06:21:47Z</dc:date>
    <item>
      <title>Pass input fields to field selection, and script within Validator</title>
      <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103458#M7977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I'm trying to do is take an input feature class, take one of it's columns (as selected by the user) and "copy" it into a new column with a specific schema (string, 20ch length), add various columns, populate them with values entered in the tool GUI, and then append the resulting table to an existing table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've gotten everything working except the passing of the field list from the input feature class to the field selection tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect that this is something I should be doing in the validation script. But I also need to know that my various parameters are correct, and I need to be able to pass the value to my script properly... (field selection value that is)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the validation script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;class ToolValidator:
&amp;nbsp; """Class for validating a tool's parameter values and controlling
&amp;nbsp; the behavior of the tool's dialog."""

&amp;nbsp; def __init__(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Setup arcpy and the list of tool parameters."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; #import arcpy
&amp;nbsp;&amp;nbsp;&amp;nbsp; #self.params = arcpy.GetParameterInfo()

&amp;nbsp; def initializeParameters(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Refine the properties of a tool's parameters.&amp;nbsp; This method is
&amp;nbsp;&amp;nbsp;&amp;nbsp; called when the tool is opened."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; #self.params[8].parameterDependencies = [0]
&amp;nbsp;&amp;nbsp;&amp;nbsp; return

&amp;nbsp; def updateParameters(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Modify the values and properties of parameters before internal
&amp;nbsp;&amp;nbsp;&amp;nbsp; validation is performed.&amp;nbsp; This method is called whenever a parmater
&amp;nbsp;&amp;nbsp;&amp;nbsp; has been changed."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy
&amp;nbsp;&amp;nbsp;&amp;nbsp; #if self.params[0].value:
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; FC = self.params[0].value
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; SourceIdent = arcpy.Describe(FC).fields
&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; self.params[8].value = SourceIdent
&amp;nbsp;&amp;nbsp;&amp;nbsp; return

&amp;nbsp; def updateMessages(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Modify the messages created by internal validation for each tool
&amp;nbsp;&amp;nbsp;&amp;nbsp; parameter.&amp;nbsp; This method is called after internal validation."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; return
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my script code, I'm specifically looking to pass the name of the selected field from [8] to the parameter "SourceIdentity" so that I can convert the value to a string and populate the new field SourceID with the value:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;## SLE Script - Authored by Cameron Wallace
## Rev 0.0 - Spring 2011
##This script is intended to; convert the feature class to a table
##strip the fields from an incoming feature class, add fields to a
##specific schema, populate those fields with input values, and two
##values from the incoming feature class. It is intended as part of
##a larger workflow.
##The final step is appending this table to an existing table that
##defines part of a related set of feature classes.

import arcpy
mxd = arcpy.mapping.MapDocument("CURRENT")

# Script arguments
SLE_Parcels_selection = arcpy.GetParameterAsText(0)
if SLE_Parcels_selection == '#' or not SLE_Parcels_selection:
&amp;nbsp;&amp;nbsp;&amp;nbsp; SLE_Parcels_selection = "SLE_Parcels selection" # provide a default value if unspecified

ClassI = arcpy.GetParameterAsText(1)
if ClassI == '#' or not ClassI:
&amp;nbsp;&amp;nbsp;&amp;nbsp; ClassI = "\"A\"" # provide a default value if unspecified

ClassII = arcpy.GetParameterAsText(2)
if ClassII == '#' or not ClassII:
&amp;nbsp;&amp;nbsp;&amp;nbsp; ClassII = "0" # provide a default value if unspecified

ClassIII = arcpy.GetParameterAsText(3)
if ClassIII == '#' or not ClassIII:
&amp;nbsp;&amp;nbsp;&amp;nbsp; ClassIII = "\"a\"" # provide a default value if unspecified

SourceShortName = arcpy.GetParameterAsText(4)
if SourceShortName == '#' or not SourceShortName:
&amp;nbsp;&amp;nbsp;&amp;nbsp; SourceShortName = "\"SHORT\"" # provide a default value if unspecified

Date1 = arcpy.GetParameterAsText(5)
if Date1 == '#' or not Date1:
&amp;nbsp;&amp;nbsp;&amp;nbsp; Date1 = "time.strftime('15/03/2011')" # provide a default value if unspecified

Date2 = arcpy.GetParameterAsText(6)
if Date2 == '#' or not Date2:
&amp;nbsp;&amp;nbsp;&amp;nbsp; Date2 = "time.strftime('15/03/2011')" # provide a default value if unspecified

Description = arcpy.GetParameterAsText(7)
if Description == '#' or not Description:
&amp;nbsp;&amp;nbsp;&amp;nbsp; Description = "\"Sample Description\"" # provide a default value if unspecified

Activity_SLE_Parcels_Relate = "C:\\Current Projects\\Other Projects\\5062xx\\506287\\GIS\\ToLContamInventory.gdb\\Activity_SLE_Parcels_Relate"
TEMPTable = "C:\\Current Projects\\Other Projects\\5062xx\\506287\\GIS\\ToLContamInventory.gdb\\TEMPTable"
# Process: Copy Rows
arcpy.CopyRows_management(SLE_Parcels_selection, TEMPTable, "")

# Process: Delete Field
arcpy.DeleteField_management(TEMPTable, "FOLIO;LEGAL_TYPE;ATTRIB_VALUE;VALUE_DESC;ParcelKey;Shape_Length;Shape_Area")

SourceIdentity = arcpy.GetParameterAsText(8)

# Process: Add Field
arcpy.AddField_management(TEMPTable, "Activity_Class_I", "TEXT", "", "", "3", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AddField_management(TEMPTable, "Activity_Class_II", "LONG", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AddField_management(TEMPTable, "Activity_Class_III", "TEXT", "", "", "3", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AddField_management(TEMPTable, "SourceShortName", "TEXT", "", "", "15", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AddField_management(TEMPTable, "Date1", "DATE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AddField_management(TEMPTable, "Date2", "DATE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AddField_management(TEMPTable, "Description", "TEXT", "", "", "250", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AddField_management(TEMPTable, "SourceID", "TEXT", "", "", "20", "", "NULLABLE", "NON_REQUIRED", "")

rows = arcpy.UpdateCursor(TEMPTable)
for row in rows:
 row.Activity_Class_I = ClassI
 row.Activity_Class_II = ClassII
 row.Activity_Class_III = ClassIII
 row.SourceShortName = SourceShortName
 row.Date1 = Date1
 row.Date2 = Date2
 row.Description = Description
 row.SourceID = str(SourceIdentity)
 rows.updateRow(row)

del row
del rows

# Process: Append
arcpy.Append_management(TEMPTable, Activity_SLE_Parcels_Relate, "NO_TEST", "", "")

arcpy.Delete_management (TEMPTable)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help or suggestions greatly welcomed!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 15:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103458#M7977</guid>
      <dc:creator>CameronWallace</dc:creator>
      <dc:date>2011-04-25T15:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input fields to field selection, and script within Validator</title>
      <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103459#M7978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The line &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;SourceIdent = arcpy.Describe(FC).fields&lt;/PRE&gt;&lt;SPAN&gt; sets SourceIdent to a list of Field objects, not a string, and you can't directly convert a list of objects to a string, at least not in a way that makes sense for what you're doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll need to loop through the field objects in the field list and build a string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;SourceIdent = ",".join(field.name for field in arcpy.Describe(FC).fields)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can change the comma in the string just prior to .join to any delimiter you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 20:26:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103459#M7978</guid>
      <dc:creator>LoganPugh</dc:creator>
      <dc:date>2011-04-25T20:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input fields to field selection, and script within Validator</title>
      <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103460#M7979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually if I understand correctly, you want parameter 8 to be a list of selectable values with each of the column names, is that right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, take a look at the "To update a filter" section in the help topic &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00150000000t000000.htm"&gt;Customizing Script Tool Behavior&lt;/A&gt;&lt;SPAN&gt;. E.g.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;self.params[8].filter.list = [str(field.name) for field in arcpy.Describe(FC).fields]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could even take it one step further and remove any fields you know you don't want to be listed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;self.params[8].filter.list = [str(field.name) for field in arcpy.Describe(FC).fields if str(field.name) not in ('OBJECTID', 'SHAPE', 'SHAPE_Length', 'SHAPE_Area', 'BLOB')]&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 16:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103460#M7979</guid>
      <dc:creator>LoganPugh</dc:creator>
      <dc:date>2011-04-26T16:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input fields to field selection, and script within Validator</title>
      <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103461#M7980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pretty much... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got it working, thanks for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Final code block for validation script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;class ToolValidator:
&amp;nbsp; """Class for validating a tool's parameter values and controlling
&amp;nbsp; the behavior of the tool's dialog."""

&amp;nbsp; def __init__(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Setup arcpy and the list of tool parameters."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy
&amp;nbsp;&amp;nbsp;&amp;nbsp; self.params = arcpy.GetParameterInfo()

&amp;nbsp; def initializeParameters(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Refine the properties of a tool's parameters.&amp;nbsp; This method is
&amp;nbsp;&amp;nbsp;&amp;nbsp; called when the tool is opened."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; return

&amp;nbsp; def updateParameters(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Modify the values and properties of parameters before internal
&amp;nbsp;&amp;nbsp;&amp;nbsp; validation is performed.&amp;nbsp; This method is called whenever a parmater
&amp;nbsp;&amp;nbsp;&amp;nbsp; has been changed."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; if self.params[0].value:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FC = self.params[0].value
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.params[8].filter.list = [str(field.name) for field in arcpy.Describe(FC).fields]
&amp;nbsp;&amp;nbsp;&amp;nbsp; return

&amp;nbsp; def updateMessages(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Modify the messages created by internal validation for each tool
&amp;nbsp;&amp;nbsp;&amp;nbsp; parameter.&amp;nbsp; This method is called after internal validation."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; return
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:21:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103461#M7980</guid>
      <dc:creator>CameronWallace</dc:creator>
      <dc:date>2021-12-11T06:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input fields to field selection, and script within Validator</title>
      <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103462#M7981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i´m trying to do something very similar, but got one problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the tool i want to specify one shapefile and from its fields i want to use a some for calculations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the user should specifiy those fields and the field selection should be limited to fields containing a certain string in their name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this is my code for filtering the 1st field - the rest would look pretty much the same...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
def updateParameters(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Modify the values and properties of parameters before internal
&amp;nbsp;&amp;nbsp;&amp;nbsp; validation is performed.&amp;nbsp; This method is called whenever a parmater
&amp;nbsp;&amp;nbsp;&amp;nbsp; has been changed."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; infeat = str(self.params[0].value)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; self.params[1].filter.list = [str(field.name) for field in arcpy.Describe(infeat).fields if "DTV" in str(field.name)]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the initialize/update parameters are both unchanged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the filter seems to work and only displays those fields that contain "DTV" in their name -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but if i select one of the filtered fields in the tool, i get an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"000800 : The value is not a member of &amp;lt;value&amp;gt;." - but i´m sure the value is one of those in the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:21:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103462#M7981</guid>
      <dc:creator>RaphaelR</dc:creator>
      <dc:date>2021-12-11T06:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input fields to field selection, and script within Validator</title>
      <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103463#M7982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;even if i use the same tool validator code as cameron i get the "000800 : The value is not a member of [the list of fields appears here]." error. this has to be something simple but i´m running out of ideas where to look for the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the first parameter is a feature layer(tried featureclass, table and shapefile too), the second a field.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 14:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103463#M7982</guid>
      <dc:creator>RaphaelR</dc:creator>
      <dc:date>2011-09-20T14:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input fields to field selection, and script within Validator</title>
      <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103464#M7983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Change the second parameter to String, I don't think Field parameters can have filters applied to them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, instead of writing ToolValidator code, use a Field parameter and set its Obtained From value to the feature layer/feature class/table parameter and it will be populated automatically.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 15:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103464#M7983</guid>
      <dc:creator>LoganPugh</dc:creator>
      <dc:date>2011-09-29T15:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input fields to field selection, and script within Validator</title>
      <link>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103465#M7984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Change the second parameter to String, I don't think Field parameters can have filters applied to them.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that did it, thanks a lot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 10:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-input-fields-to-field-selection-and-script/m-p/103465#M7984</guid>
      <dc:creator>RaphaelR</dc:creator>
      <dc:date>2011-10-25T10:29:55Z</dc:date>
    </item>
  </channel>
</rss>

