<?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: How to filter Python Toolbox parameter for Tables in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496947#M39044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the parameter list looks like the correct form (ie a list of entries)&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/creating-tools/defining-parameters-in-a-python-toolbox.htm#GUID-3CB5FAF4-43DD-4C84-8AFE-08039A72B3E0"&gt;http://desktop.arcgis.com/en/arcmap/10.3/analyze/creating-tools/defining-parameters-in-a-python-toolbox.htm#GUID-3CB5FAF4-43DD-4C84-8AFE-08039A72B3E0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which begs the question, about 'Table' being the appropriate entry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Oct 2017 18:28:16 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-10-13T18:28:16Z</dc:date>
    <item>
      <title>How to filter Python Toolbox parameter for Tables</title>
      <link>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496946#M39043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to set a filter on a Python toolbox parameter to only allow tables to be input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently doing this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; param0 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Parameter&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; displayName&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Table"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"in_Table"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"GPTableView"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameterType&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Required"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; direction&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Input"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; param0&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;filter&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;list &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Table"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, the filter doesn't seem to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:50:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496946#M39043</guid>
      <dc:creator>JohnDye</dc:creator>
      <dc:date>2021-12-11T21:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter Python Toolbox parameter for Tables</title>
      <link>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496947#M39044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the parameter list looks like the correct form (ie a list of entries)&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/creating-tools/defining-parameters-in-a-python-toolbox.htm#GUID-3CB5FAF4-43DD-4C84-8AFE-08039A72B3E0"&gt;http://desktop.arcgis.com/en/arcmap/10.3/analyze/creating-tools/defining-parameters-in-a-python-toolbox.htm#GUID-3CB5FAF4-43DD-4C84-8AFE-08039A72B3E0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which begs the question, about 'Table' being the appropriate entry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 18:28:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496947#M39044</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-10-13T18:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter Python Toolbox parameter for Tables</title>
      <link>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496948#M39045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe filters are valid on GPTableView parameters.&amp;nbsp; Your best bet might be to use Describe in the UpdateMessages method to check whether it's actually a table or table view, then raise an error if it isn't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 19:08:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496948#M39045</guid>
      <dc:creator>JamesMacKay3</dc:creator>
      <dc:date>2017-10-13T19:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter Python Toolbox parameter for Tables</title>
      <link>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496949#M39046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys. I figured this was probably something that was implemented but wanted to check with the SMEs to make sure I wasn't missing something. Boo, Esri. Fix it.&amp;nbsp;&lt;A href="https://community.esri.com/ideas/14090" target="_blank"&gt;https://community.esri.com/ideas/14090&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:35:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-filter-python-toolbox-parameter-for-tables/m-p/496949#M39046</guid>
      <dc:creator>JohnDye</dc:creator>
      <dc:date>2021-06-22T08:35:49Z</dc:date>
    </item>
  </channel>
</rss>

