<?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 Feature Service Versioning (setup and use) in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/feature-service-versioning-setup-and-use/m-p/851458#M4260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on an Add-In that needs to read spatial data from a feature service. Using just a feature service URL, this seems to be working. I can create a Geodatabase object from connection properties derived from the feature service's URI, and then I can get data out of that gdb's tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if I need to access data from a specific version of a versioned feature service? Right now, IsVersioningSupported() always returns false from a Geodatabase instantiated from a feature service's connection properties. Likewise, if I try to call GetVersionManager() on that Geodatabase object, I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"This type of geodatabase (Service) does not support version."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this really mean there is no way to programatically access versions of a versioned feature service? Or does it just mean that the feature service in question isn't set up properly for versioning?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately I'm hoping to find out&lt;/P&gt;&lt;P&gt;1. How to set up a feature service for traditional and branch versioning&lt;/P&gt;&lt;P&gt;2. How to access those versions within the Arc Pro SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2019 15:37:59 GMT</pubDate>
    <dc:creator>DavidLaMartina</dc:creator>
    <dc:date>2019-12-17T15:37:59Z</dc:date>
    <item>
      <title>Feature Service Versioning (setup and use)</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/feature-service-versioning-setup-and-use/m-p/851458#M4260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on an Add-In that needs to read spatial data from a feature service. Using just a feature service URL, this seems to be working. I can create a Geodatabase object from connection properties derived from the feature service's URI, and then I can get data out of that gdb's tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if I need to access data from a specific version of a versioned feature service? Right now, IsVersioningSupported() always returns false from a Geodatabase instantiated from a feature service's connection properties. Likewise, if I try to call GetVersionManager() on that Geodatabase object, I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"This type of geodatabase (Service) does not support version."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this really mean there is no way to programatically access versions of a versioned feature service? Or does it just mean that the feature service in question isn't set up properly for versioning?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately I'm hoping to find out&lt;/P&gt;&lt;P&gt;1. How to set up a feature service for traditional and branch versioning&lt;/P&gt;&lt;P&gt;2. How to access those versions within the Arc Pro SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 15:37:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/feature-service-versioning-setup-and-use/m-p/851458#M4260</guid>
      <dc:creator>DavidLaMartina</dc:creator>
      <dc:date>2019-12-17T15:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Service Versioning (setup and use)</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/feature-service-versioning-setup-and-use/m-p/851459#M4261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using traditional versioning, the feature service does not support versioning functionality, as you have pointed out. &amp;nbsp;You can connect to a particular version by passing that into the connection properties, but there is no way to iterate through what versions are available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set up your enterprise&amp;nbsp;geodatabase to use branch versioning, and enable the Version Management Service when you publish to a feature service, this story changes. IsVersioningSupported() returns true, GetVersionManager() returns an object, and all of the routines on that class work as you would expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/feature-service-versioning-setup-and-use/m-p/851459#M4261</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2019-12-17T16:35:19Z</dc:date>
    </item>
  </channel>
</rss>

