<?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: Python Script Tool Validation Parameters in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script-tool-validation-parameters/m-p/339600#M26602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If its a hardcoded list that doesn't need to change based on other parameters, you dont need to use the Validator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the Parameters tab of your script tool, add a new input of type string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For its properties, chose Value List for the Filter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the window that opens, add your strings one-by-one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2012 16:14:24 GMT</pubDate>
    <dc:creator>KevinHibma</dc:creator>
    <dc:date>2012-07-09T16:14:24Z</dc:date>
    <item>
      <title>Python Script Tool Validation Parameters</title>
      <link>https://community.esri.com/t5/python-questions/python-script-tool-validation-parameters/m-p/339599#M26601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Everyone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm fairly new to python/ArcGIS script tools, so I was hoping I could find an easy/ straightforward example...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need the user of tool to select an input parameter in a script tool from Dropdown List populated with 5 or 6 default string values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sure this is a very simple task, but I can't seem to find any straight forward examples online or in esri help that are this simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00150000000t000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00150000000t000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that this has to be set in the tool Properties &amp;gt; Validation &amp;gt; Edit the Validation Script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody have any insight on how I should write the function so that I get a very simple list of strings to choose from?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 15:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-tool-validation-parameters/m-p/339599#M26601</guid>
      <dc:creator>ChrisBates1</dc:creator>
      <dc:date>2012-07-09T15:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script Tool Validation Parameters</title>
      <link>https://community.esri.com/t5/python-questions/python-script-tool-validation-parameters/m-p/339600#M26602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If its a hardcoded list that doesn't need to change based on other parameters, you dont need to use the Validator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the Parameters tab of your script tool, add a new input of type string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For its properties, chose Value List for the Filter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the window that opens, add your strings one-by-one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 16:14:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-tool-validation-parameters/m-p/339600#M26602</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2012-07-09T16:14:24Z</dc:date>
    </item>
  </channel>
</rss>

