<?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 Re: ChangeVersion in a BRANCH not working in toolbox in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/changeversion-in-a-branch-not-working-in-toolbox/m-p/1623724#M9642</link>
    <description>&lt;P&gt;Branch versioning isn't just another flavor of database versioning. It has a specific set of use cases, all of which go through a services architecture endpoint.&amp;nbsp; So, it's not a property of the connection so much as a property of the service. I wouldn't expect ArcPy to be real useful here; this seems more in the domain of the ArcGIS API for Python (which is more Portal-centric).&lt;BR /&gt;&lt;BR /&gt;This &lt;A title=" To Branch or Not to Branch " href="https://www.esri.com/arcgis-blog/products/arcgis-enterprise/data-management/to-branch-or-not-to-branch" target="_blank" rel="noopener"&gt;Blog from 2019&lt;/A&gt; might help clarify how what you're describing is the intended design of Branch Versioning.&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
    <pubDate>Sun, 15 Jun 2025 18:44:34 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2025-06-15T18:44:34Z</dc:date>
    <item>
      <title>ChangeVersion in a BRANCH not working in toolbox</title>
      <link>https://community.esri.com/t5/geodatabase-questions/changeversion-in-a-branch-not-working-in-toolbox/m-p/1623502#M9641</link>
      <description>&lt;P&gt;I'm having trouble running the arcpy.management.ChangeVersion() tool in arcpy to change the branch version of a Utility Network layer. The tool only works if you use it directly from the geoprocessing tool via the ArcGIS Pro graphical interface. However, when run in an isolated Python script, or via ArcGIS's own Notebook, it returns an error and does not change the version to the definition, despite being the same command copied from Geoprocessing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatheusSparapani_3-1749832899750.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134345iFE0237CFF6510B4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatheusSparapani_3-1749832899750.png" alt="MatheusSparapani_3-1749832899750.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatheusSparapani_2-1749832724438.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134344iD02C4ED3720FCD44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatheusSparapani_2-1749832724438.png" alt="MatheusSparapani_2-1749832724438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another point is that there is no way to check the branch version via arcpy, only via the graphical interface. Not even arcpy.Describe() makes the branch version explicit.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatheusSparapani_0-1749832630220.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134342i61F28A954CCB1D37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatheusSparapani_0-1749832630220.jpeg" alt="MatheusSparapani_0-1749832630220.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 16:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/changeversion-in-a-branch-not-working-in-toolbox/m-p/1623502#M9641</guid>
      <dc:creator>MatheusSparapani</dc:creator>
      <dc:date>2025-06-13T16:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: ChangeVersion in a BRANCH not working in toolbox</title>
      <link>https://community.esri.com/t5/geodatabase-questions/changeversion-in-a-branch-not-working-in-toolbox/m-p/1623724#M9642</link>
      <description>&lt;P&gt;Branch versioning isn't just another flavor of database versioning. It has a specific set of use cases, all of which go through a services architecture endpoint.&amp;nbsp; So, it's not a property of the connection so much as a property of the service. I wouldn't expect ArcPy to be real useful here; this seems more in the domain of the ArcGIS API for Python (which is more Portal-centric).&lt;BR /&gt;&lt;BR /&gt;This &lt;A title=" To Branch or Not to Branch " href="https://www.esri.com/arcgis-blog/products/arcgis-enterprise/data-management/to-branch-or-not-to-branch" target="_blank" rel="noopener"&gt;Blog from 2019&lt;/A&gt; might help clarify how what you're describing is the intended design of Branch Versioning.&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 18:44:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/changeversion-in-a-branch-not-working-in-toolbox/m-p/1623724#M9642</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2025-06-15T18:44:34Z</dc:date>
    </item>
  </channel>
</rss>

