<?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 enable script tool 'Add Value' button? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647932#M50442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My read was you wanted the user to select a field to calculate statistics from... that is what I was referring to.&amp;nbsp; From there you could emulate one of tools that I have written...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=7155956bfbcb4410b42419b4c5d079f5"&gt;Statistics... Descriptive Statistics for Multiple fields&lt;/A&gt;&lt;/STRONG&gt; or the older&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=6c384f06c9f14d09920f4ff14460f4e2"&gt;&lt;STRONG&gt;Field Statistics&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For individual statistical values, a checkbox would be simpler so they could select one or more stats parameters to calculate, then you have a simple boolean check to see what has been selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 19:03:24 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-01-05T19:03:24Z</dc:date>
    <item>
      <title>How to enable script tool 'Add Value' button?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647929#M50439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am building a script tool with a parameter 'Statistics Fields'.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/392197_Capture.PNG" style="width: 327px; height: 215px;" /&gt;&lt;/P&gt;&lt;P&gt;properties as set as follow:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/392204_Capture.PNG" style="height: 334px;" width="286" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I enable the 'Add Value' button associated to this parameter?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 23:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647929#M50439</guid>
      <dc:creator>SamyBouma_Ngock1</dc:creator>
      <dc:date>2018-01-04T23:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable script tool 'Add Value' button?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647930#M50440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/creating-tools/setting-script-tool-parameters.htm#GUID-E4CF478D-D449-4A65-A77C-74A424FD0AF6"&gt;&lt;STRONG&gt;obtained from....&lt;/STRONG&gt;&lt;/A&gt; and the field would be obtained from the table or featureclass table. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, make sure that 'string' isn't the type of field that you currently have highlighted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 23:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647930#M50440</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-04T23:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable script tool 'Add Value' button?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647931#M50441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize that my question was not as clear and simple&amp;nbsp;as I thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fact, I am trying to set&amp;nbsp;my &lt;EM&gt;Statistics Fields&lt;/EM&gt; parameter as a list of values where the user can add new values using the 'Add Value' Button.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/392221_Capture.PNG" style="width: 510px; height: 186px;" /&gt;&lt;/P&gt;&lt;P&gt;When the data type is defined as &lt;STRONG&gt;String&lt;/STRONG&gt; I can set the property &lt;EM&gt;Filter&lt;/EM&gt; as &lt;STRONG&gt;Value List&lt;/STRONG&gt; and&amp;nbsp;add&amp;nbsp;default values.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/392220_Capture.PNG" style="height: 326px;" width="328" /&gt;&lt;/P&gt;&lt;P&gt;I don't need to set the data type as &lt;STRONG&gt;Field&lt;/STRONG&gt; because the values are not obtained from fields. Moreover, the available functionality is 'Add Field'. Similar but potentially misleading for the user&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/392237_Capture.PNG" style="width: 526px; height: 178px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I enable this 'Add Value' button or what is the proper way to customize this intended behavior?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 17:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647931#M50441</guid>
      <dc:creator>SamyBouma_Ngock1</dc:creator>
      <dc:date>2018-01-05T17:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable script tool 'Add Value' button?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647932#M50442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My read was you wanted the user to select a field to calculate statistics from... that is what I was referring to.&amp;nbsp; From there you could emulate one of tools that I have written...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=7155956bfbcb4410b42419b4c5d079f5"&gt;Statistics... Descriptive Statistics for Multiple fields&lt;/A&gt;&lt;/STRONG&gt; or the older&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=6c384f06c9f14d09920f4ff14460f4e2"&gt;&lt;STRONG&gt;Field Statistics&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For individual statistical values, a checkbox would be simpler so they could select one or more stats parameters to calculate, then you have a simple boolean check to see what has been selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 19:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-enable-script-tool-add-value-button/m-p/647932#M50442</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-05T19:03:24Z</dc:date>
    </item>
  </channel>
</rss>

