<?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: list values from field as input for  geoprocessing  service in web app in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/list-values-from-field-as-input-for-geoprocessing/m-p/1012877#M59397</link>
    <description>&lt;P&gt;Are you intending that users choose one (or many) field name values from this input?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Dec 2020 14:17:57 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2020-12-30T14:17:57Z</dc:date>
    <item>
      <title>list values from field as input for  geoprocessing  service in web app</title>
      <link>https://community.esri.com/t5/python-questions/list-values-from-field-as-input-for-geoprocessing/m-p/1012415#M59391</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;I have python toolbox&amp;nbsp; that populate one of the inputs from values in field, works great in pro&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there way to make this work in with geoprocessing service in webapp&amp;nbsp;&lt;BR /&gt;when I publish the tool i get constant list of values&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 12:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/list-values-from-field-as-input-for-geoprocessing/m-p/1012415#M59391</guid>
      <dc:creator>OrrGvili</dc:creator>
      <dc:date>2020-12-28T12:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: list values from field as input for  geoprocessing  service in web app</title>
      <link>https://community.esri.com/t5/python-questions/list-values-from-field-as-input-for-geoprocessing/m-p/1012877#M59397</link>
      <description>&lt;P&gt;Are you intending that users choose one (or many) field name values from this input?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 14:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/list-values-from-field-as-input-for-geoprocessing/m-p/1012877#M59397</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2020-12-30T14:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: list values from field as input for  geoprocessing  service in web app</title>
      <link>https://community.esri.com/t5/python-questions/list-values-from-field-as-input-for-geoprocessing/m-p/1013524#M59401</link>
      <description>&lt;P&gt;I'm not the OP, but I've got the same problem...&lt;/P&gt;&lt;P&gt;The idea isn't to choose a field name, but the field value.&lt;/P&gt;&lt;P&gt;For example, imagine a tool that exports data from a user-specified row to Excel. The user opens the tool and sees a dropdown list of existing values in a field of the table, eg permit codes or parcel numbers. In the python toolbox, you can populate that list with something like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;class Tool:
    def getParameterInfo(self):
        p0 = arcpy.Parameter(...)
        with arcpy.da.SearchCursor(layer_or_table, [field]) as cursor:
            p0.filter.list = [row[0] for row in cursor]
        return [p0]&lt;/LI-CODE&gt;&lt;P&gt;Each time you start that tool in Pro, it searches the specified layer/table for values. If you add a new value, it will be shown in the dropdown list the next time you start the tool.&lt;/P&gt;&lt;P&gt;When you publish that tool, you get a static list of values that were in the layer/table when you published. New entires won't be shown.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 10:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/list-values-from-field-as-input-for-geoprocessing/m-p/1013524#M59401</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2021-01-04T10:32:58Z</dc:date>
    </item>
  </channel>
</rss>

