<?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>idea in arcpy, add a way to detect if a feature class or table is branch versioned using Describe in Python Ideas</title>
    <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idi-p/1214220</link>
    <description>&lt;P&gt;I am trying to create a python script to catalog all items in our geodatabases and their configuration using arcpy.Describe.&amp;nbsp; Currently there is no way to determine if a feature class, table, or other item is branch versioned.&amp;nbsp; The closest thing is the '.isVersioned' property for datasets (&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/arcpy/functions/dataset-properties.htm" target="_self"&gt;link&lt;/A&gt;).&amp;nbsp; However, this is just a boolean value.&amp;nbsp; So if a dataset is versioned there is no way to return if it's configured for traditional versioning or branch versioning.&lt;/P&gt;&lt;P&gt;This is becoming important for us as we transition many of our geodatabase items into a ArcGIS Enterprise web services model for editing.&amp;nbsp; It would be helpful to run a scan of all geodatabase items and return a table documenting which are not versioned, which are still traditional, and which are now branch to assist with our transition.&lt;/P&gt;&lt;P&gt;I guess the best way to add this information to Arcpy is to add a new property named "versionType" to the dataset object(&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/arcpy/functions/dataset-properties.htm" target="_self"&gt;link&lt;/A&gt;).&amp;nbsp; If the dataset is versioned it would return the value "Branch" or "Traditional".&amp;nbsp; And if the dataset isn't versioned then I guess this property could have a null value or just not be present at all on the object.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 15:24:23 GMT</pubDate>
    <dc:creator>AndrewRudin1</dc:creator>
    <dc:date>2022-09-20T15:24:23Z</dc:date>
    <item>
      <title>arcpy.Describe differentiate between fully versioned and move-to-base</title>
      <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/964484#M187</link>
      <description>&lt;P&gt;arcpy.Describe returns the dataset property isVersioned as boolean -&amp;nbsp;the described dataset&amp;nbsp;could be either fully versioned or move-to-base and there is no way to determine which, other than to open the property sheet of each table&amp;nbsp;or feature class&amp;nbsp;using ArcCatalog.&amp;nbsp; Might need to&amp;nbsp;create a property with a different name to avoid breaking scripts that currently use isVersioned and expect a True/False return.&lt;/P&gt;&lt;!--  content transformation source ID: 087E00000005ENp  --&gt;</description>
      <pubDate>Wed, 14 Sep 2022 17:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/964484#M187</guid>
      <dc:creator>SteveSalas</dc:creator>
      <dc:date>2022-09-14T17:27:47Z</dc:date>
    </item>
    <item>
      <title>in arcpy, add a way to detect if a feature class or table is branch versioned using Describe</title>
      <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idi-p/1214220</link>
      <description>&lt;P&gt;I am trying to create a python script to catalog all items in our geodatabases and their configuration using arcpy.Describe.&amp;nbsp; Currently there is no way to determine if a feature class, table, or other item is branch versioned.&amp;nbsp; The closest thing is the '.isVersioned' property for datasets (&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/arcpy/functions/dataset-properties.htm" target="_self"&gt;link&lt;/A&gt;).&amp;nbsp; However, this is just a boolean value.&amp;nbsp; So if a dataset is versioned there is no way to return if it's configured for traditional versioning or branch versioning.&lt;/P&gt;&lt;P&gt;This is becoming important for us as we transition many of our geodatabase items into a ArcGIS Enterprise web services model for editing.&amp;nbsp; It would be helpful to run a scan of all geodatabase items and return a table documenting which are not versioned, which are still traditional, and which are now branch to assist with our transition.&lt;/P&gt;&lt;P&gt;I guess the best way to add this information to Arcpy is to add a new property named "versionType" to the dataset object(&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/arcpy/functions/dataset-properties.htm" target="_self"&gt;link&lt;/A&gt;).&amp;nbsp; If the dataset is versioned it would return the value "Branch" or "Traditional".&amp;nbsp; And if the dataset isn't versioned then I guess this property could have a null value or just not be present at all on the object.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 15:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idi-p/1214220</guid>
      <dc:creator>AndrewRudin1</dc:creator>
      <dc:date>2022-09-20T15:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: in arcpy, add a way to detect if a feature class or table is branch versioned using Describe</title>
      <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1228275#M157</link>
      <description>&lt;P&gt;This would be very good to have. We are in the process of automating creation of datasets and feature classes in Enterprise databases. For us to be able to automate the process we need to see which version type the dataset has.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 12:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1228275#M157</guid>
      <dc:creator>John_Kohlin</dc:creator>
      <dc:date>2022-11-03T12:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: in arcpy, add a way to detect if a feature class or table is branch versioned using Describe - Status changed to: Under Consideration</title>
      <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1270381#M197</link>
      <description />
      <pubDate>Wed, 22 Mar 2023 13:56:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1270381#M197</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2023-03-22T13:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: in arcpy, add a way to detect if a feature class or table is branch versioned using Describe</title>
      <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1415853#M309</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;This is still under consideration, however, in the meantime I want to point you to this response from one of our coworkers which may help you:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/td-p/1344657" target="_blank" rel="noopener"&gt;How to identify branch versioned feature classes f... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The relevant solution is copied here for convenience:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/sql-access-to-geodatabase-data.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;SQL access to enterprise geodatabase data—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/overview-geodatabase-system-tables.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;Geodatabase system tables—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/determining-which-data-is-versioned.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;Example: Determine which datasets are versioned in a geodatabase—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SQL SERVER&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.GDB_ITEMS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GO&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;--Versioned&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT NAME AS "Versioned feature class", definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.GDB_ITEMS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE Definition.exist('(/*/Versioned)[1]') = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND Definition.value('(/*/Versioned)[1]', 'nvarchar(4)') = 'true'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GO&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;--Not Versioned&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT NAME AS "Versioned feature class", definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.GDB_ITEMS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Definition.exist('(/*/Versioned)[1]') = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND Definition.value('(/*/Versioned)[1]', 'nvarchar(4)') = 'false'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GO&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;--Branch Versioned&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT NAME AS "Versioned feature class", definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.GDB_ITEMS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Definition.exist('(/*/Versioned)[1]') = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND Definition.value('(/*/Versioned)[1]', 'nvarchar(4)') = 'true'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND Definition.exist('(/*/IsBranch)[1]') = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND Definition.value('(/*/IsBranch)[1]', 'nvarchar(4)') = 'true'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GO&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;--Traditional Versioning&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT NAME AS "Versioned feature class", definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.GDB_ITEMS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Definition.exist('(/*/Versioned)[1]') = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND Definition.value('(/*/Versioned)[1]', 'nvarchar(4)') = 'true'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND Definition.exist('(/*/IsBranch)[1]') = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND Definition.value('(/*/IsBranch)[1]', 'nvarchar(4)') = 'false'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GO&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Note:&amp;nbsp;The links provided in the solution are for ArcMap. These queries work with the Enterprise Geodatabase Repository Tables, which is completely independent from the ArcGIS Client - so this should work with ArcMap or Pro.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 14:32:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1415853#M309</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2024-04-26T14:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: in arcpy, add a way to detect if a feature class or table is branch versioned using Describe - Status changed to: In Product Plan</title>
      <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1422662#M311</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We're working on this! This status does not guarantee that the functionality will be in the next release, but development work has begun. Release cycles vary by product so make sure to check&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://support.esri.com/en/other-resources/product-life-cycle" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;product&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;life cycle information&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;to get an idea of when to expect the next release.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 14:39:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1422662#M311</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2024-05-09T14:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: in arcpy, add a way to detect if a feature class or table is branch versioned using Describe</title>
      <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1553815#M376</link>
      <description>&lt;P&gt;This improvement is essential. Everything in the properties of a dataset needs to be available through python.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 16:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1553815#M376</guid>
      <dc:creator>dwarburgTRC</dc:creator>
      <dc:date>2024-10-30T16:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: in arcpy, add a way to detect if a feature class or table is branch versioned using Describe - Status changed to: Implemented</title>
      <link>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1556828#M381</link>
      <description>&lt;P&gt;This idea has been implemented in ArcGIS Pro 3.4, please see &lt;A href="https://pro.arcgis.com/en/pro-app/latest/get-started/whats-new-in-arcgis-pro.htm#ESRI_SECTION1_AB3F982B6A174B74AFF373A90D77CA20" target="_self"&gt;the Python section of the What's New in ArcGIS Pro 3.4 topic&lt;/A&gt;&amp;nbsp;and scroll to ArcPy.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL id="UL_B47FE8752BC04909ADBE1CAEB64A61FA"&gt;
&lt;LI id="LI_FE9808F0F26B4C0FAB9F028C77AF292D"&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="usertext"&gt;Describe&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function supports the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="usertext"&gt;isTraditionalVersioned&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="usertext"&gt;isBranchVersioned&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;properties to determine if a dataset is traditional versioned or branch versioned. To learn more, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="xref xref" href="https://pro.arcgis.com/en/pro-app/3.4/arcpy/functions/dataset-properties.htm" target="_blank"&gt;Dataset properties&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 08 Nov 2024 15:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/in-arcpy-add-a-way-to-detect-if-a-feature-class-or/idc-p/1556828#M381</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2024-11-08T15:50:24Z</dc:date>
    </item>
  </channel>
</rss>

