<?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 Web Tool Choice List not working for user input in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/web-tool-choice-list-not-working-for-user-input/m-p/1220556#M34272</link>
    <description>&lt;P&gt;I would like to add a choice list to the Web Tool I have published in portal that I have added in a webapp widget.&amp;nbsp; What this tool does is takes an input (work pack), does a select by location of all the features that have this work pack in their attributes and then sends them in a zip file to the entered email.&amp;nbsp; Data is stored on SQL Server.&lt;/P&gt;&lt;P&gt;The Work Pack names are quite long and I don't really want the user to type them in so ideally a drop down list of the names in the widget would be best.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have the option to add a choice list for some reason in the input mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 437px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53289iF0ECFEB2A9A00D1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any reason why this would not be available?&amp;nbsp; Using Pro 2.9.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 03:12:13 GMT</pubDate>
    <dc:creator>CourtneyWatson</dc:creator>
    <dc:date>2022-10-11T03:12:13Z</dc:date>
    <item>
      <title>Web Tool Choice List not working for user input</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/web-tool-choice-list-not-working-for-user-input/m-p/1220556#M34272</link>
      <description>&lt;P&gt;I would like to add a choice list to the Web Tool I have published in portal that I have added in a webapp widget.&amp;nbsp; What this tool does is takes an input (work pack), does a select by location of all the features that have this work pack in their attributes and then sends them in a zip file to the entered email.&amp;nbsp; Data is stored on SQL Server.&lt;/P&gt;&lt;P&gt;The Work Pack names are quite long and I don't really want the user to type them in so ideally a drop down list of the names in the widget would be best.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have the option to add a choice list for some reason in the input mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 437px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53289iF0ECFEB2A9A00D1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any reason why this would not be available?&amp;nbsp; Using Pro 2.9.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 03:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/web-tool-choice-list-not-working-for-user-input/m-p/1220556#M34272</guid>
      <dc:creator>CourtneyWatson</dc:creator>
      <dc:date>2022-10-11T03:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Web Tool Choice List not working for user input</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/web-tool-choice-list-not-working-for-user-input/m-p/1220901#M34280</link>
      <description>&lt;P&gt;In your python toolbox, have you set the parameter correctly? It should look something like;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;param = arcpy.Parameter(name = 'in_list',
display_name = 'Input List',
direction = 'input',
parameterType = 'Required',
datatype = 'GPString')
param.filter.type = 'ValueList'
value_list = ['Option 1', 'Option 2', 'Option 3']
param.filter.list = value_list
 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once your tool knows it is a drop down list, then when you go to publish it you will have the option of 'choice list' for your input mode.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 21:12:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/web-tool-choice-list-not-working-for-user-input/m-p/1220901#M34280</guid>
      <dc:creator>JessicaRouns</dc:creator>
      <dc:date>2022-10-11T21:12:58Z</dc:date>
    </item>
  </channel>
</rss>

