<?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: How do I edit  the new version I just created? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-do-i-edit-the-new-version-i-just-created/m-p/1558010#M73612</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.spatialtimes.com/2018/10/use-arcpy-to-connect-to-sde-and-versions/" target="_blank"&gt;Use ArcPy to Connect to SDE and Versions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 14:17:50 GMT</pubDate>
    <dc:creator>SanchezNuñez</dc:creator>
    <dc:date>2024-11-13T14:17:50Z</dc:date>
    <item>
      <title>How do I edit  the new version I just created?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-edit-the-new-version-i-just-created/m-p/1558009#M73611</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I created a new version using:&amp;nbsp;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;management&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;CreateVersion&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now I want to edit this specific version.&amp;nbsp; How do populate the workspace with this new version in order to edit it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;a&lt;SPAN&gt;rcpy&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;management&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;CreateVersion&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;'''''&lt;BR /&gt;workspace = ???????&lt;BR /&gt;edit = arcpy.da.Editor(workspace)
edit.startEditing(&lt;SPAN class=""&gt;False&lt;/SPAN&gt;, &lt;SPAN class=""&gt;True&lt;/SPAN&gt;)
edit.startOperation()

&lt;SPAN class=""&gt;##CODE&lt;/SPAN&gt;

edit.stopOperation()
edit.stopEditing(&lt;SPAN class=""&gt;True&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 14:17:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-edit-the-new-version-i-just-created/m-p/1558009#M73611</guid>
      <dc:creator>SanchezNuñez</dc:creator>
      <dc:date>2024-11-13T14:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit  the new version I just created?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-edit-the-new-version-i-just-created/m-p/1558010#M73612</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.spatialtimes.com/2018/10/use-arcpy-to-connect-to-sde-and-versions/" target="_blank"&gt;Use ArcPy to Connect to SDE and Versions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 14:17:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-edit-the-new-version-i-just-created/m-p/1558010#M73612</guid>
      <dc:creator>SanchezNuñez</dc:creator>
      <dc:date>2024-11-13T14:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit  the new version I just created?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-edit-the-new-version-i-just-created/m-p/1558060#M73613</link>
      <description>&lt;P&gt;According to &lt;A href="https://community.esri.com/t5/python-questions/arcpy-da-editor-for-a-versioned-environment/td-p/208403" target="_blank" rel="noopener"&gt;this post&lt;/A&gt;, you will have to create a new connection which specifies the new version you created. Then use that connection as your workspace when you instantiate the edit class&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 15:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-edit-the-new-version-i-just-created/m-p/1558060#M73613</guid>
      <dc:creator>TonyContreras_Frisco_TX</dc:creator>
      <dc:date>2024-11-13T15:26:50Z</dc:date>
    </item>
  </channel>
</rss>

