<?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>idea Selection Refresh should call updateParameters() in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/selection-refresh-should-call-updateparameters/idi-p/1392004</link>
    <description>&lt;P&gt;&lt;SPAN&gt;In custom geoprocessing tools (either .pyt or .atbx), when a feature layer input has a selection, clicking the refresh arrows next to "&lt;/SPAN&gt;&lt;FONT color="#3366FF"&gt;The input has a selection. Records to be processed: X&lt;/FONT&gt;&lt;SPAN&gt;" currently does&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;call updateParameters().&amp;nbsp; Clicking those arrows updates the blue text to reflect the number of selected features, but will not initiate any Validation scripts. I believe it should.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrennanSmith1_0-1709746511299.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97107i577813F8D0E0E12B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrennanSmith1_0-1709746511299.png" alt="BrennanSmith1_0-1709746511299.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my workflow, we use a tool in a python toolbox. Users make selections in a point feature layer, which populates a drop down of IDs.&amp;nbsp;More happens after this (additional dropdowns of related records, etc.) that isn't relevant to the proposed Idea.&amp;nbsp; Currently, the user can not change their map selections and re-run the tool without closing and re-opening the tool.&amp;nbsp; It seems intuitive that refreshing the selection would also refresh any validations.&amp;nbsp; See &lt;A href="https://community.esri.com/t5/python-questions/update-parameters-in-toolbox-after-refreshing/m-p/1391981/highlight/true#M70019" target="_blank" rel="noopener"&gt;this post&lt;/A&gt; for my workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 17:42:57 GMT</pubDate>
    <dc:creator>BrennanSmith1</dc:creator>
    <dc:date>2024-03-06T17:42:57Z</dc:date>
    <item>
      <title>Selection Refresh should call updateParameters()</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/selection-refresh-should-call-updateparameters/idi-p/1392004</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In custom geoprocessing tools (either .pyt or .atbx), when a feature layer input has a selection, clicking the refresh arrows next to "&lt;/SPAN&gt;&lt;FONT color="#3366FF"&gt;The input has a selection. Records to be processed: X&lt;/FONT&gt;&lt;SPAN&gt;" currently does&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;call updateParameters().&amp;nbsp; Clicking those arrows updates the blue text to reflect the number of selected features, but will not initiate any Validation scripts. I believe it should.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrennanSmith1_0-1709746511299.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97107i577813F8D0E0E12B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrennanSmith1_0-1709746511299.png" alt="BrennanSmith1_0-1709746511299.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my workflow, we use a tool in a python toolbox. Users make selections in a point feature layer, which populates a drop down of IDs.&amp;nbsp;More happens after this (additional dropdowns of related records, etc.) that isn't relevant to the proposed Idea.&amp;nbsp; Currently, the user can not change their map selections and re-run the tool without closing and re-opening the tool.&amp;nbsp; It seems intuitive that refreshing the selection would also refresh any validations.&amp;nbsp; See &lt;A href="https://community.esri.com/t5/python-questions/update-parameters-in-toolbox-after-refreshing/m-p/1391981/highlight/true#M70019" target="_blank" rel="noopener"&gt;this post&lt;/A&gt; for my workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 17:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/selection-refresh-should-call-updateparameters/idi-p/1392004</guid>
      <dc:creator>BrennanSmith1</dc:creator>
      <dc:date>2024-03-06T17:42:57Z</dc:date>
    </item>
  </channel>
</rss>

