<?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 Python Add-In: Check for newer version in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-add-in-check-for-newer-version/m-p/78148#M6302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building a Python add-In to work with our &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;file geodatabase&lt;/SPAN&gt; (simplify data entry, popular searches, zoom to, export, etc.). Right now, I'm the only one using it, but soon it will be made available to other users.&lt;/P&gt;&lt;P&gt;The Problem is: The add-in is far from final, and so it will change quite a lot. The gdb may change too, although to a far lesser extent.&lt;/P&gt;&lt;P&gt;To avoid errors (Python exceptions as well as corrupt data entries) and to be sure to provide the newest version, I'd like to disable the add-in if it's not the latest version. Ideally, the toolbar would be disabled and a message box would be displayed whwen starting ArcMap or activating the add-in to install the newest version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way / best practice to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Right now, I'm thinking of checking a hardcoded version number versus a text file at a hardcoded location on our network and setting the "enabled" variable of the toolbar elements accordingly, but that seems somewhat clunky.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2019 16:02:57 GMT</pubDate>
    <dc:creator>JohannesLindner</dc:creator>
    <dc:date>2019-05-16T16:02:57Z</dc:date>
    <item>
      <title>Python Add-In: Check for newer version</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-check-for-newer-version/m-p/78148#M6302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building a Python add-In to work with our &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;file geodatabase&lt;/SPAN&gt; (simplify data entry, popular searches, zoom to, export, etc.). Right now, I'm the only one using it, but soon it will be made available to other users.&lt;/P&gt;&lt;P&gt;The Problem is: The add-in is far from final, and so it will change quite a lot. The gdb may change too, although to a far lesser extent.&lt;/P&gt;&lt;P&gt;To avoid errors (Python exceptions as well as corrupt data entries) and to be sure to provide the newest version, I'd like to disable the add-in if it's not the latest version. Ideally, the toolbar would be disabled and a message box would be displayed whwen starting ArcMap or activating the add-in to install the newest version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way / best practice to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Right now, I'm thinking of checking a hardcoded version number versus a text file at a hardcoded location on our network and setting the "enabled" variable of the toolbar elements accordingly, but that seems somewhat clunky.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 16:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-check-for-newer-version/m-p/78148#M6302</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2019-05-16T16:02:57Z</dc:date>
    </item>
  </channel>
</rss>

