<?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: Updating Branch Version DB connection in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1294951#M8466</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Marcelo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I agree that using a VPN is &lt;STRONG&gt;NOT&lt;/STRONG&gt; the best method, but for the time being, it is the method provided to me.&amp;nbsp; I use the vpn connection to set up the publish the layer(s) to the organizational&amp;nbsp;Portal with version management.&amp;nbsp; Once that is done, the edits can be made through a portal connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe your comment &lt;EM&gt;"The Geodatabase Connection File can be set to Brach Version &lt;STRONG&gt;then you can add the layers to the map&lt;/STRONG&gt; using the geodatabase connection set to branch and then your will be able to publish the branch version service."&amp;nbsp;&lt;/EM&gt;may the issue.&amp;nbsp; I am finding that once a data layer is added through a connection (traditional versioning), the connection type cannot&amp;nbsp;be change.&amp;nbsp; In other words, even if the database is re-set to Branch Versioning, datasets are re-set to be managed&amp;nbsp;as a branch version, and layers are re-set to branch versioning, any&amp;nbsp;layers &lt;STRONG&gt;previously added&lt;/STRONG&gt; to the map &lt;U&gt;as a traditional version&lt;/U&gt; &lt;STRONG&gt;need&amp;nbsp;to be re added as a branch version.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have not come across a method to change the connection type as reflected in the TOC.&amp;nbsp; It is just a few steps to do re-add layers and such, but with 15 or more databases, I just&amp;nbsp;wish it could be easier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again.&amp;nbsp; James&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 13:46:33 GMT</pubDate>
    <dc:creator>JamesArmstrong_</dc:creator>
    <dc:date>2023-06-01T13:46:33Z</dc:date>
    <item>
      <title>Updating Branch Version DB connection</title>
      <link>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1294551#M8464</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; I have enjoyed working with Branch Versioning for the past several months. For the most part using Branch Versioning is relatively simple and easy to administer.&amp;nbsp; Here is the issue I am facing and I realize that there may not be a simple solution.&lt;/P&gt;&lt;P&gt;Using a vpn connection to the enterprise geodatabase, it seems connections based on the containing server IP address can cause a minor inconvenience in that opening the project back up (after saving) re-sets the database connection using the same IP address with a (#) sequential number at the end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example: 12.200.150.24(4)&amp;nbsp;&lt;/P&gt;&lt;P&gt;When this happens (most every time) the database needs to be re-registered with the ArcGIS Server. Again, this is a minor inconvenience. However, it seems by adding a record in the hosts file so the server's name can be used maintains the connection after saving, closing and re-opening the project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far so good, &lt;STRONG&gt;and this is where my issue begins:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After creating a new DB connection using the server's name and setting the new connection to Branch Versioning as well as setting and confirming the datasets and individual Feature Class to Branch Version, I use the update data source process to move the layers in ArcGIS Pro to point to the new connection.&amp;nbsp; All works well and it seems everything is in alignment &lt;STRONG&gt;EXCEPT&amp;nbsp;&lt;/STRONG&gt;in the table of contents, which indicates the the connection is still Traditional.&amp;nbsp; This seems to cause problems in publishing to a Portal installation.&lt;/P&gt;&lt;P&gt;I have tried several ideas to update this so that the connection (as shown in the TOC) reflects as being Branch.&amp;nbsp; I realize I could re-create from scratch; however, I have several database connections to process in the same manner.&amp;nbsp; Any suggestion or idea shared on how to handle this will be gratefully received.&lt;/P&gt;&lt;P&gt;James Armstrong&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JamesArmstrong__1-1685548606505.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72047iF71C6CEF6C1CCFD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JamesArmstrong__1-1685548606505.png" alt="JamesArmstrong__1-1685548606505.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 16:01:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1294551#M8464</guid>
      <dc:creator>JamesArmstrong_</dc:creator>
      <dc:date>2023-05-31T16:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Branch Version DB connection</title>
      <link>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1294600#M8465</link>
      <description>&lt;P&gt;&lt;EM&gt;"Using a vpn connection to the enterprise geodatabase"&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Best Practice is to have the Enterprise Geodatabase and the ArcGIS Enterprise ( Portal / Server / Databastore ) on the same LAN ( Local Area Network ), the Enterprise Geodatabase requires a network with low latency and high bandwidth to avoid connection interruptions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VPN connections have high latency and low bandwidth, just the opposite, and this will cause issues if you are running ArcGIS Enterprise on your local machine and trying to connect to an Enterprise Geodatabase over VPN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Geodatabase Connection File can be set to Brach Version then you can add the layers to the map using the geodatabase connection set to branch and then your will be able to publish the branch version service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/update-geodatabase-connection-properties-to-branch.htm" target="_blank" rel="noopener"&gt;Update Geodatabase Connection Properties To Branch (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/connect-to-a-branch-version.htm" target="_blank" rel="noopener"&gt;Connect to a branch version—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Follow these steps to set the database connection to the branch for the versioning type:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Connect to your geodatabase in the Databases folder Databases in the Catalog pane.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Right-click your database connection Geodatabase Connection and click &lt;STRONG&gt;Geodatabase Connection &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Properties Geodatabase Connection Properties.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Select &lt;STRONG&gt;Branch&lt;/STRONG&gt; for Versioning Type.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Only the default version is available.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Click OK.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;For more details see the documentation.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.0/help/data/geodatabases/overview/register-a-dataset-as-branch-versioned.htm" target="_blank"&gt;Register a dataset as branch versioned—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 17:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1294600#M8465</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-05-31T17:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Branch Version DB connection</title>
      <link>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1294951#M8466</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Marcelo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I agree that using a VPN is &lt;STRONG&gt;NOT&lt;/STRONG&gt; the best method, but for the time being, it is the method provided to me.&amp;nbsp; I use the vpn connection to set up the publish the layer(s) to the organizational&amp;nbsp;Portal with version management.&amp;nbsp; Once that is done, the edits can be made through a portal connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe your comment &lt;EM&gt;"The Geodatabase Connection File can be set to Brach Version &lt;STRONG&gt;then you can add the layers to the map&lt;/STRONG&gt; using the geodatabase connection set to branch and then your will be able to publish the branch version service."&amp;nbsp;&lt;/EM&gt;may the issue.&amp;nbsp; I am finding that once a data layer is added through a connection (traditional versioning), the connection type cannot&amp;nbsp;be change.&amp;nbsp; In other words, even if the database is re-set to Branch Versioning, datasets are re-set to be managed&amp;nbsp;as a branch version, and layers are re-set to branch versioning, any&amp;nbsp;layers &lt;STRONG&gt;previously added&lt;/STRONG&gt; to the map &lt;U&gt;as a traditional version&lt;/U&gt; &lt;STRONG&gt;need&amp;nbsp;to be re added as a branch version.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have not come across a method to change the connection type as reflected in the TOC.&amp;nbsp; It is just a few steps to do re-add layers and such, but with 15 or more databases, I just&amp;nbsp;wish it could be easier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again.&amp;nbsp; James&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 13:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1294951#M8466</guid>
      <dc:creator>JamesArmstrong_</dc:creator>
      <dc:date>2023-06-01T13:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Branch Version DB connection</title>
      <link>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1297526#M8470</link>
      <description>&lt;P&gt;Hello James.&lt;/P&gt;&lt;P&gt;Below is a python code sample for the&amp;nbsp;Update Geodatabase Connection Properties To Branch, You may schedule a python script with this code and run it when the geodatabase connection properties needs to be set to Branch. This should be quicker. the database connection.sde can be changed in the below code as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;import&lt;/SPAN&gt; arcpy arcpy.UpdateGeodatabaseConnectionPropertiesToBranch_management(&lt;SPAN class=""&gt;"C:\\Projects\\MyUNProject\\UNOwnerConnection.sde"&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/update-geodatabase-connection-properties-to-branch.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/update-geodatabase-connection-properties-to-branch.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also you may refer below documents:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/schedule-a-python-script-or-model-to-run-at-a-prescribed-time-2019-update/" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/schedule-a-python-script-or-model-to-run-at-a-prescribed-time-2019-update/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm" target="_self"&gt;&lt;SPAN&gt;Schedule geoprocessing tools&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/schedule-python-scripts-to-run-in-arcgis-pro/td-p/1158016" target="_self"&gt;&lt;SPAN&gt;Schedule Python scripts to run in ArcGIS Pro&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 11:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/updating-branch-version-db-connection/m-p/1297526#M8470</guid>
      <dc:creator>RudraniChakraborty</dc:creator>
      <dc:date>2023-06-09T11:35:33Z</dc:date>
    </item>
  </channel>
</rss>

