<?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 Unable to update ToolValidator in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/unable-to-update-toolvalidator/m-p/522656#M40978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have attempted to update the Tool Validator (ArcGIS 10.0) code as per the instructions within the Help file. However, it is not behaving as expected. When I choose the option to "Edit" on the Validation tab of the Properties dialog, IDLE will open with a file called "xxScript.py", which is created in a temp folder under my user profile. I made changes in this file and saved (as per the ESRI Instructions), but when I apply the changes I get nothing. And when attempting to edit it again, it simple created a new copy called "xxScript2.py", which was a copy of the original.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a place/naming convention I should be saving this file after modifying so that it can be referenced?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2011 20:49:48 GMT</pubDate>
    <dc:creator>MikeMazerolle</dc:creator>
    <dc:date>2011-09-19T20:49:48Z</dc:date>
    <item>
      <title>Unable to update ToolValidator</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-update-toolvalidator/m-p/522656#M40978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have attempted to update the Tool Validator (ArcGIS 10.0) code as per the instructions within the Help file. However, it is not behaving as expected. When I choose the option to "Edit" on the Validation tab of the Properties dialog, IDLE will open with a file called "xxScript.py", which is created in a temp folder under my user profile. I made changes in this file and saved (as per the ESRI Instructions), but when I apply the changes I get nothing. And when attempting to edit it again, it simple created a new copy called "xxScript2.py", which was a copy of the original.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a place/naming convention I should be saving this file after modifying so that it can be referenced?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 20:49:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-update-toolvalidator/m-p/522656#M40978</guid>
      <dc:creator>MikeMazerolle</dc:creator>
      <dc:date>2011-09-19T20:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update ToolValidator</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-update-toolvalidator/m-p/522657#M40979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This temporary xxScript.py is fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you need to do is open the Properties, select validation and then Edit.&amp;nbsp; From this point do not close the Properties window as it seems to break a link between the xxScript.py file that is open and the properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then edit the Python script and save it.&amp;nbsp; Then you can press Apply in the properties window.&amp;nbsp; If you press apply before saving it will fail and break the link so if you save later and Apply it will show no change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also once you have pressed Apply once it seems to break the link so to edit you have to open a new edit session and this will probably be xxScript2.py or some such.&amp;nbsp; I'm up to about xxScript40.py at the moment.&amp;nbsp; It is kind of a work around because I don't think it works as well as it could but it should work as long as you proceed like this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 00:16:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-update-toolvalidator/m-p/522657#M40979</guid>
      <dc:creator>HenryColgate</dc:creator>
      <dc:date>2011-09-20T00:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update ToolValidator</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-update-toolvalidator/m-p/522658#M40980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks DrColgate! This worked. I think I was hitting Apply and then OK, which was probably why it was failing. I'm unsure now, bit clicking OK immediately after updating and saving, seemed to do the quick.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 14:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-update-toolvalidator/m-p/522658#M40980</guid>
      <dc:creator>MikeMazerolle</dc:creator>
      <dc:date>2011-09-20T14:39:40Z</dc:date>
    </item>
  </channel>
</rss>

