<?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 How to call validation scripts updateParameters function once for a specific case only ? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-call-validation-scripts-updateparameters/m-p/1259304#M65667</link>
    <description>&lt;P&gt;I want to add the AGOL layer to the current map after choose the online feature layer in toolbox.&lt;/P&gt;&lt;P&gt;I have use below code in the tools validation script. But this script will add AGOL layer multiple times to the map. I am trying to find out the bugs in my code but i still i have no luck. So i want to limit the call for the&amp;nbsp;updateParameters&amp;nbsp; function so that my code can give output. Please let me know how i can achieve this in arcpy validation scripts ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NiharSahoo_0-1676870654287.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63220i61D53A6045B09512/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NiharSahoo_0-1676870654287.png" alt="NiharSahoo_0-1676870654287.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 05:24:27 GMT</pubDate>
    <dc:creator>NiharSahoo</dc:creator>
    <dc:date>2023-02-20T05:24:27Z</dc:date>
    <item>
      <title>How to call validation scripts updateParameters function once for a specific case only ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-call-validation-scripts-updateparameters/m-p/1259304#M65667</link>
      <description>&lt;P&gt;I want to add the AGOL layer to the current map after choose the online feature layer in toolbox.&lt;/P&gt;&lt;P&gt;I have use below code in the tools validation script. But this script will add AGOL layer multiple times to the map. I am trying to find out the bugs in my code but i still i have no luck. So i want to limit the call for the&amp;nbsp;updateParameters&amp;nbsp; function so that my code can give output. Please let me know how i can achieve this in arcpy validation scripts ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NiharSahoo_0-1676870654287.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63220i61D53A6045B09512/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NiharSahoo_0-1676870654287.png" alt="NiharSahoo_0-1676870654287.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 05:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-call-validation-scripts-updateparameters/m-p/1259304#M65667</guid>
      <dc:creator>NiharSahoo</dc:creator>
      <dc:date>2023-02-20T05:24:27Z</dc:date>
    </item>
  </channel>
</rss>

