<?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 Add 'Version Changes' to the Versions Toolset in Data Management Ideas</title>
    <link>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idi-p/1355811</link>
    <description>&lt;P&gt;ArcPro Versioning Ribbon has a great button: Version Changes.&amp;nbsp; This provides a categorized list of edits in the given version in a nice little UI window.&amp;nbsp; However from there, automation, advanced QA/QC, auditing, event triggering and integrations are difficult if not impossible.&amp;nbsp; The data result of this button would be tremendously useful for those operations as a GP tool.... the Versions Toolset makes sense.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FredSpataro_0-1701452237842.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87767iB14ACEC6ACA3BA53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FredSpataro_0-1701452237842.png" alt="FredSpataro_0-1701452237842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An advanced SQL management topic or SDE stored procedure would also be ideal but I understand the complexity there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 17:37:27 GMT</pubDate>
    <dc:creator>FredSpataro</dc:creator>
    <dc:date>2023-12-01T17:37:27Z</dc:date>
    <item>
      <title>Add 'Version Changes' to the Versions Toolset</title>
      <link>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idi-p/1355811</link>
      <description>&lt;P&gt;ArcPro Versioning Ribbon has a great button: Version Changes.&amp;nbsp; This provides a categorized list of edits in the given version in a nice little UI window.&amp;nbsp; However from there, automation, advanced QA/QC, auditing, event triggering and integrations are difficult if not impossible.&amp;nbsp; The data result of this button would be tremendously useful for those operations as a GP tool.... the Versions Toolset makes sense.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FredSpataro_0-1701452237842.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87767iB14ACEC6ACA3BA53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FredSpataro_0-1701452237842.png" alt="FredSpataro_0-1701452237842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An advanced SQL management topic or SDE stored procedure would also be ideal but I understand the complexity there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 17:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idi-p/1355811</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2023-12-01T17:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Version Changes' to the Versions Toolset</title>
      <link>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1355816#M2292</link>
      <description>&lt;P&gt;---------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/data-management-questions/python-or-sql-for-version-changes/m-p/1355769#M44829" target="_blank"&gt;Solved: Re: Python or SQL for 'Version Changes'? - Esri Community&lt;/A&gt;&lt;BR /&gt;---------------------------------------------------------------------------------------------&lt;BR /&gt;ArcGIS Pro "&lt;STRONG&gt;Version Changes"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is not exposed as a geoprocessing tool therefore it is also not exposed in arcpy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/an-overview-of-the-versions-toolset.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;An overview of the Versions toolset—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/alphabetical-list-of-arcpy-functions.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;An overview of ArcPy functions—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ArcGIS Pro "&lt;/SPAN&gt;&lt;STRONG&gt;Version Changes"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;needs to be available as an&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;arctoolbox geoprocessing tool&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and in&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;arcpy&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;for users.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The alternative for users is to&amp;nbsp;use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ArcGIS Pro SDK for .NET&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/" target="_blank" rel="noopener nofollow noreferrer"&gt;ArcGIS Pro SDK | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic7008.html" target="_blank" rel="noopener nofollow noreferrer"&gt;FeatureClass Class—ArcGIS Pro&lt;/A&gt;&amp;nbsp; -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Featureclass.Differences&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/version-differences/td-p/835837" target="_blank" rel="noopener"&gt;Solved: Version Differences - Esri Community&lt;/A&gt;&amp;nbsp;- this link has a code example.&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Another alternative for users is to use FME Workbench.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.safe.com/s/article/tutorial-extracting-differences-from-an-arcsde-geo" target="_blank" rel="noopener nofollow noreferrer"&gt;Extracting Differences from an ArcSDE Geodatabase (safe.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note: I am not sure if the same FME transformer functionality is present in the ArcGIS Pro Data Interoperability Extension, but if it is then users could use an ArcGIS Pro Model Builder to call the ArcGIS Pro Data Interoperability Transformer to get the "Version Changes".&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;There in no way to see the "Version Changes" using SQL to access the Geodatabase.&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/edit-versioned-data-using-sql-sqlserver.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;Edit versioned data in SQL Server using SQL—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| Marcelo Marques | Principal Product Engineer | Esri |&lt;BR /&gt;| Cloud &amp;amp; Database Administrator | OCP - Oracle Certified Professional |&lt;BR /&gt;&lt;STRONG&gt;“ I do not fear computers. I fear the lack of them. ” - Isaac Asimov&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 18:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1355816#M2292</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-12-01T18:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Version Changes' to the Versions Toolset</title>
      <link>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1355836#M2294</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11168"&gt;@FredSpataro&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/data-management-questions/python-or-sql-for-version-changes/m-p/1355769#M44829" target="_blank"&gt;Solved: Re: Python or SQL for 'Version Changes'? - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 18:29:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1355836#M2294</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-12-01T18:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Version Changes' to the Versions Toolset</title>
      <link>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1355889#M2295</link>
      <description>&lt;P&gt;Agree.&amp;nbsp; This is needed.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 19:25:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1355889#M2295</guid>
      <dc:creator>John-Waterman</dc:creator>
      <dc:date>2023-12-01T19:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Version Changes' to the Versions Toolset</title>
      <link>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1358806#M2297</link>
      <description>&lt;P&gt;For branch versioned feature classes, the version differences can be found with the REST API. This was implicitly mentioned here with the ArcGIS Pro .NET SDK using the Differences method.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/differences.htm" target="_blank" rel="noopener"&gt;Differences—ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is also possible to retrieve the differences with the ArcGIS Python API&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html#arcgis.features._version.Version.differences" target="_blank" rel="noopener"&gt;arcgis.features.managers module | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis import GIS
from arcgis.features._version import VersionManager

gis = GIS(
    "https://server.domain.com/webadaptor/",
    "user",
    "password"
)
version_manager_url = ("https://server.domain.com/webadaptor/rest/services/FeatureServiceName/VersionManagementServer")
version_management_server = VersionManager(version_manager_url , gis)

with version_management_server.get("owner.version_name", "read") as version:
    differnces = version.differences(result_type="features", layers=[15])

''' Result:
{
  "differences" : [
    {
      "layerId" : long,
      "inserts" : [ &amp;lt;objectId&amp;gt; ],
      "updates" : [ &amp;lt;objectId&amp;gt; ],
      "deletes" : [ &amp;lt;objectId&amp;gt; ]
    }
  ],
  "features" : [
    {
      "layerId" : long,
      "inserts" : [
        {
          "attributes" : {
            "OBJECTID" : 581,
            "SUBTYPE" : 3,
             . . .
            "SHAPE.STLength()" : 132.5
          },
          "geometry" : {
            "hasZ" : true,
            "hasM" : true,
            "paths" : [
              . . .
  ],
  "success" : &amp;lt;true | false&amp;gt;,
'''&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 23:03:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1358806#M2297</guid>
      <dc:creator>KenGalliher1</dc:creator>
      <dc:date>2023-12-08T23:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Version Changes' to the Versions Toolset</title>
      <link>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1359244#M2298</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/108851"&gt;@KenGalliher1&lt;/a&gt;&amp;nbsp;Thanks! That's great.&amp;nbsp; Unfortunately my particular case at the moment is 'traditional' versioning.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 18:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/add-version-changes-to-the-versions-toolset/idc-p/1359244#M2298</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2023-12-11T18:05:55Z</dc:date>
    </item>
  </channel>
</rss>

