AnsweredAssumed Answered

How to filter Python Toolbox parameter for Tables

Question asked by johnmdye on Oct 13, 2017
Latest reply on Oct 13, 2017 by johnmdye

Trying to set a filter on a Python toolbox parameter to only allow tables to be input.

 

Currently doing this:

        param0 = arcpy.Parameter(
            displayName="Table",
            name="in_Table",
            datatype="GPTableView",
            parameterType="Required",
            direction="Input")
        param0.filter.list = ["Table"]

However, the filter doesn't seem to work.

Outcomes