I'm setting up parameters in a Python Toolbox and have a Value Table with three columns. Two of the columns have value lists for the user to pick from. I would like for the user to be able to choose one, but leave the other Null. However, the tool will throw and error message that Null is not part of the value list and the tool will not run. If I try adding Null to the value list, the parameters break and do not show when the tool is opened. Is there a way to a user to pick a value from one column in a value table parameter, but leave the another blank?
Here is my code for my value table parameter:
target_elements = arcpy.Parameter( displayName = "Target Element(s) Name", name = "element_name", datatype = "GPValueTable", parameterType = "Optional", multiValue = True, direction = "Input") target_elements.columns = [['GPString','Target Element Type'],['GPString','Target Element'],['GPString','EO ID (if known)']] target_elements.filters.list = ["Insect","Lepidoptera","Other Invertebrate","Plant","Vertebrate Animal","Community"] target_elements.filters.list = et_list