<?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 ParameterType property writable in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/parametertype-property-writable/idi-p/955968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It would be quite useful if the ParameterType property in ToolValidator was also writable, not read-only as it is now.&lt;BR /&gt;When you can disable a parameter, it should be possible to make it optional!&lt;BR /&gt;:-)

&lt;!-- content transformation source ID: 087E0000000kBw3 --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 13:32:17 GMT</pubDate>
    <dc:creator>ΠαναγιώτηςΠαπάζογλου</dc:creator>
    <dc:date>2016-03-01T13:32:17Z</dc:date>
    <item>
      <title>ParameterType property writable</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/parametertype-property-writable/idi-p/955968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It would be quite useful if the ParameterType property in ToolValidator was also writable, not read-only as it is now.&lt;BR /&gt;When you can disable a parameter, it should be possible to make it optional!&lt;BR /&gt;:-)

&lt;!-- content transformation source ID: 087E0000000kBw3 --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 13:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/parametertype-property-writable/idi-p/955968</guid>
      <dc:creator>ΠαναγιώτηςΠαπάζογλου</dc:creator>
      <dc:date>2016-03-01T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: ParameterType property writable - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/parametertype-property-writable/idc-p/1376062#M28224</link>
      <description>&lt;P&gt;While we can't change the parameter type property, there is an approach to mimic the behavior you're looking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The strategy is to flip this around, and define the parameter as optional. And then in the tool's validation code, using your specific criteria, make the parameter appear required through validation, by forcing a parameter error. If you use either the 530 or 735 error ID in validation, the parameter will then show as required.&lt;/P&gt;&lt;P&gt;There's more information here in the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/parameter.htm" target="_self"&gt;Parameter&lt;/A&gt; topic:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWynne_0-1706641833349.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93215i9A878E0351D4384C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWynne_0-1706641833349.png" alt="DavidWynne_0-1706641833349.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Dave&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 19:14:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/parametertype-property-writable/idc-p/1376062#M28224</guid>
      <dc:creator>DavidWynne</dc:creator>
      <dc:date>2024-01-30T19:14:07Z</dc:date>
    </item>
  </channel>
</rss>

