<?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 When changing a parameter in a custom tool, don't clear other parameters in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idi-p/1270742</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using a custom script tool that was provided by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/598454"&gt;@SeanLim&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1127"&gt;@DanLee&lt;/a&gt;&amp;nbsp;called Shrink Line:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/shrink-lines-gp-tool/idc-p/1270445/highlight/true#M23894" target="_self"&gt;Shrink Lines — GP Tool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the tool parameters, if I change the &lt;EM&gt;Input Feature Class&lt;/EM&gt;, then it automatically clears a parameter called &lt;EM&gt;Percentage/Length&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1679552175666.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66030i94B748ED1E0FA5A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1679552175666.png" alt="Bud_0-1679552175666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Automatically resetting parameters isn't the desired behavior. If I took the time to enter some parameter values, then I'd prefer them to persist, even if I change one of the other parameters.&lt;/P&gt;&lt;P&gt;Could that behavior be changed?&lt;/P&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6323122208112w694h540r629" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6323122208112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6323122208112w694h540r629');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6323122208112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 07:50:38 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-03-23T07:50:38Z</dc:date>
    <item>
      <title>When changing a parameter in a custom tool, don't clear other parameters</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idi-p/1270742</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using a custom script tool that was provided by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/598454"&gt;@SeanLim&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1127"&gt;@DanLee&lt;/a&gt;&amp;nbsp;called Shrink Line:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/shrink-lines-gp-tool/idc-p/1270445/highlight/true#M23894" target="_self"&gt;Shrink Lines — GP Tool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the tool parameters, if I change the &lt;EM&gt;Input Feature Class&lt;/EM&gt;, then it automatically clears a parameter called &lt;EM&gt;Percentage/Length&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1679552175666.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66030i94B748ED1E0FA5A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1679552175666.png" alt="Bud_0-1679552175666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Automatically resetting parameters isn't the desired behavior. If I took the time to enter some parameter values, then I'd prefer them to persist, even if I change one of the other parameters.&lt;/P&gt;&lt;P&gt;Could that behavior be changed?&lt;/P&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6323122208112w694h540r657" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6323122208112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6323122208112w694h540r657');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6323122208112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 07:50:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idi-p/1270742</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-23T07:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: When changing a parameter in a custom tool, don't clear other parameters</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idc-p/1271048#M23944</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;, I can't seem to reproduce this issue. I've updated the Shrink Line tool as stated in my other &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/shrink-lines-gp-tool/idc-p/1271047/highlight/true#M23943" target="_self"&gt;comment.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could you try again with the updated tool and let me know if it's still reproducible?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 18:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idc-p/1271048#M23944</guid>
      <dc:creator>SeanLim</dc:creator>
      <dc:date>2023-03-23T18:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: When changing a parameter in a custom tool, don't clear other parameters</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idc-p/1271149#M23961</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/598454"&gt;@SeanLim&lt;/a&gt;&amp;nbsp;I tried again with the updated tool. I'm still seeing that behavior in this scenario:&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Choose an Input Feature Class.&lt;/LI&gt;&lt;LI&gt;Choose the Method (optional).&lt;/LI&gt;&lt;LI&gt;Enter a Percentage or Length value.&lt;/LI&gt;&lt;LI&gt;Click in the Output Feature Class parameter (it's a habit I have where I "click away" to ensure the value I entered persists).&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;Note that "clicking away" in blank space in the tool seems to behave differently. It doesn't cause the issue.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Change the Input Feature Class to a different feature class.&lt;/LI&gt;&lt;LI&gt;Result:&lt;BR /&gt;The Percentage/Length value has be cleared to 0, which isn't what we want.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6323173197112w874h540r289" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6323173197112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6323173197112w874h540r289');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6323173197112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 20:31:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idc-p/1271149#M23961</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-23T20:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: When changing a parameter in a custom tool, don't clear other parameters</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idc-p/1271162#M23966</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&lt;/P&gt;&lt;P&gt;It looks like this behavior happens when you click the Output Features Class input box before changing the Input Feature Class. You can see that it doesn't happen when I click outside of the box after entering the Percentage input then going straight to changing the Input Feature Class value. I'm not sure why it does that, but I would avoid that pattern so you don't lose your other input values.&lt;/P&gt;&lt;P&gt;Edit: this is a known bug that is being worked on!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="value_resetting.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66156i793FDF99B8FD2E56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="value_resetting.gif" alt="value_resetting.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 16:42:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/when-changing-a-parameter-in-a-custom-tool-don-t/idc-p/1271162#M23966</guid>
      <dc:creator>SeanLim</dc:creator>
      <dc:date>2023-03-30T16:42:38Z</dc:date>
    </item>
  </channel>
</rss>

