<?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: Accessing features class of child version in ArcSDE using Python and arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235019#M18203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only alternate solution was given in the bug&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #595959; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next',Avenir,'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 15.8px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: 0px; line-height: 26.35px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Right-click the database connection, select Geodatabase Connection Properties, and point to the right version&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2018 10:47:31 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-07-05T10:47:31Z</dc:date>
    <item>
      <title>Accessing features class of child version in ArcSDE using Python and arcpy</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235009#M18193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to access the feature class of my newly created Versioned dataset (child) created from the default SDE using arcpy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 17:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235009#M18193</guid>
      <dc:creator>JAY_PRAKASHKUMAR</dc:creator>
      <dc:date>2018-05-29T17:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235010#M18194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay.&amp;nbsp; Utilize the connection string you've created to that version as the path that arcpy follows....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 17:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235010#M18194</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-05-29T17:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235011#M18195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be sure you read up on how Esri's &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/an-overview-of-versioning.htm"&gt;versioning model operates&lt;/A&gt;.&amp;nbsp; There is no difference between the child and parent versions if no editing has occurred. The active version is a connnection property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 18:11:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235011#M18195</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2018-05-29T18:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235012#M18196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;connection string changes (which is wrong) when I change my SDE to child version, while it's correct when from the default SDE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 18:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235012#M18196</guid>
      <dc:creator>JAY_PRAKASHKUMAR</dc:creator>
      <dc:date>2018-05-29T18:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235013#M18197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read the same and as you say &lt;STRONG&gt;active&amp;nbsp;version is connection property&lt;/STRONG&gt; but I am unable to get the path of the child version even I am trying to perform some operation let say arcpy.&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;MakeFeatureLayer_management('path of child version feature class','any name for temporary new feature class')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;I am getting an error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;error 000732 does not exist or is not supported failed to execute&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;which clearly says I am unable to reach to my feature class for child version while the same operation happens when I give the path of default&amp;nbsp;SDE version feature class [I just drag and drop in python Console&amp;nbsp;of ArcMap, the feature class from SDE connection for a child and default version]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Is it a specific way to reach the path of child version?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Thank you for your time&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 18:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235013#M18197</guid>
      <dc:creator>JAY_PRAKASHKUMAR</dc:creator>
      <dc:date>2018-05-29T18:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235014#M18198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You haven't provided enough useful information.&amp;nbsp; What is the name of your user?&amp;nbsp; What is the name of the version?&amp;nbsp; From which version was the new version created. What exact parameter did you change on the connection UI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 15:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235014#M18198</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2018-05-30T15:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE using Python and arcpy</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235015#M18199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vince,&lt;/P&gt;&lt;P&gt;It seems I got the solution. Whenever I am trying to change the version of SDE I should restart the ArcMap and then I was able to get the path of child version&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 11:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235015#M18199</guid>
      <dc:creator>JAY_PRAKASHKUMAR</dc:creator>
      <dc:date>2018-05-31T11:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE using Python and arcpy</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235016#M18200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this is not part of the standard workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 13:03:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235016#M18200</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2018-05-31T13:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE using Python and arcpy</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235017#M18201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vince,&lt;/P&gt;&lt;P&gt;I know that's not the standard workflow. Let me explain to you my&amp;nbsp;problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let say I have many versions of particular SDE. Eg. Let say they are A,B,C, DEFAULT.&lt;/P&gt;&lt;P&gt;I dragged and dropped a particular&amp;nbsp;feature class says MAIN from version&amp;nbsp;&lt;SPAN&gt;DEFAULT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1. I started editing mode on.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2. Selected some features in main&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;3. Now trying to read path of the selected features in MAIN in the following pythonic way.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mxd&amp;nbsp;= arcpy.mapping.MapDocument("CURRENT")&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer = arcpy.mapping.ListLayers(mxd)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for i in layer:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print arcpy.Describe(i).catalogPath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;This gives the result&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;Databaseconnection&lt;STRONG&gt;.sde\MAIN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4. Now I changed the version of the MAIN layer in TOC to let say Version A and applied the same above code to get the path of the Version A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives the result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;MAIN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conclusion&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am unable to fetch the exact path of the feature when trying to change the version in TOC from current version to some other version. This is halting me perform my other operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kindly help me with getting the path of the feature class in a versioned SDE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay Prakash Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 19:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235017#M18201</guid>
      <dc:creator>JAY_PRAKASHKUMAR</dc:creator>
      <dc:date>2018-07-02T19:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE using Python and arcpy</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235018#M18202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vince,&lt;/P&gt;&lt;P&gt;It was a bug that ESRI solved in 10.6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;A href="https://gis.stackexchange.com/questions/244925/arcpy-mapping-listlayers-returns-inconsistent-datasource-properties"&gt;https://gis.stackexchange.com/questions/244925/arcpy-mapping-listlayers-returns-inconsistent-datasource-properties&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;But still, I am looking for some alternative. If you could give some workaround then that will be helpful&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Thank you for your time&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 10:36:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235018#M18202</guid>
      <dc:creator>JAY_PRAKASHKUMAR</dc:creator>
      <dc:date>2018-07-05T10:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE using Python and arcpy</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235019#M18203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only alternate solution was given in the bug&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #595959; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next',Avenir,'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 15.8px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: 0px; line-height: 26.35px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Right-click the database connection, select Geodatabase Connection Properties, and point to the right version&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 10:47:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235019#M18203</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-05T10:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing features class of child version in ArcSDE using Python and arcpy</title>
      <link>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235020#M18204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Dan, But that too works for 10.4 and onwards. I need this to mainly implement on 10.2 and 10.3. I am thinking something out of box. This could be something like making python addin that will detect the path. Something like that...I am just trying some way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 11:29:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/accessing-features-class-of-child-version-in/m-p/235020#M18204</guid>
      <dc:creator>JAY_PRAKASHKUMAR</dc:creator>
      <dc:date>2018-07-05T11:29:39Z</dc:date>
    </item>
  </channel>
</rss>

