<?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 Environment variable of type Boolean not shown as Checked as default value in the Environment section in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1342548#M69271</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have added an environment variable of boolean type in both parameters as well environment section.&lt;/P&gt;&lt;P&gt;For the parameter section I am setting its default value as true using parameter.value. Because of that it is showing as checked.&lt;/P&gt;&lt;P&gt;And same I am trying to do in the environment section by setting the value like&amp;nbsp;arcpy.env.transferDomains = True. It is setting the value but not showing the checkbox as Checked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added the screenshot where transferDomains checkbox is not checked when tool is opened for the first time.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/86309"&gt;@EarlMedina&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1371"&gt;@JoshuaBixby&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2023 06:43:34 GMT</pubDate>
    <dc:creator>TonyO</dc:creator>
    <dc:date>2023-10-30T06:43:34Z</dc:date>
    <item>
      <title>Environment variable of type Boolean not shown as Checked as default value in the Environment section</title>
      <link>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1342548#M69271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have added an environment variable of boolean type in both parameters as well environment section.&lt;/P&gt;&lt;P&gt;For the parameter section I am setting its default value as true using parameter.value. Because of that it is showing as checked.&lt;/P&gt;&lt;P&gt;And same I am trying to do in the environment section by setting the value like&amp;nbsp;arcpy.env.transferDomains = True. It is setting the value but not showing the checkbox as Checked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added the screenshot where transferDomains checkbox is not checked when tool is opened for the first time.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/86309"&gt;@EarlMedina&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1371"&gt;@JoshuaBixby&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 06:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1342548#M69271</guid>
      <dc:creator>TonyO</dc:creator>
      <dc:date>2023-10-30T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable of type Boolean not shown as Checked in the Environment section</title>
      <link>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1343169#M69273</link>
      <description>&lt;P&gt;Can somebody help me here?&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/86309"&gt;@EarlMedina&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1371"&gt;@JoshuaBixby&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 06:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1343169#M69273</guid>
      <dc:creator>TonyO</dc:creator>
      <dc:date>2023-10-30T06:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable of type Boolean not shown as Checked as default value in the Environment section</title>
      <link>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1343580#M69274</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/727100"&gt;@TonyO&lt;/a&gt;&amp;nbsp;. I looked into your problem and I have to admit I'm stumped. It looks like you're doing everything right. You said the code is honored but the UI does not update accordingly? Is that correct?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 21:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1343580#M69274</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2023-10-30T21:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable of type Boolean not shown as Checked as default value in the Environment section</title>
      <link>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1344333#M69275</link>
      <description>&lt;P&gt;Yes that is the case I am setting the value as true but checkbox is not showing as &lt;STRONG&gt;checked.&amp;nbsp;arcpy.env.transferDomains = True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And I am setting this in init method&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/86309"&gt;@EarlMedina&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 12:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1344333#M69275</guid>
      <dc:creator>TonyO</dc:creator>
      <dc:date>2023-11-01T12:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable of type Boolean not shown as Checked as default value in the Environment section</title>
      <link>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1344375#M69276</link>
      <description>&lt;P&gt;My suggestion is to open a quick case with technical support and check if they have this logged as a bug and, if not, go ahead and log one.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 13:48:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-variable-of-type-boolean-not-shown-as/m-p/1344375#M69276</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2023-11-01T13:48:43Z</dc:date>
    </item>
  </channel>
</rss>

