<?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: workspace in editor object in ArcGIS Pro 2.9 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/workspace-in-editor-object-in-arcgis-pro-2-9/m-p/1198292#M65111</link>
    <description>&lt;P&gt;I may miss something.&amp;nbsp; The change version geoprocessing tool only changes the version of a layer or table.&amp;nbsp; It is not for a workspace.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 21:32:31 GMT</pubDate>
    <dc:creator>YinghongLi1</dc:creator>
    <dc:date>2022-08-01T21:32:31Z</dc:date>
    <item>
      <title>workspace in editor object in ArcGIS Pro 2.9</title>
      <link>https://community.esri.com/t5/python-questions/workspace-in-editor-object-in-arcgis-pro-2-9/m-p/1197731#M65106</link>
      <description>&lt;P&gt;I have a script to insert rows into the table which is versioned. I added the table to my map project and changed it to my version.&amp;nbsp; However, the SDE connection file is set to the default version and I used this connection file as the workspace for the editor object's startEdition method. When I ran my script,&amp;nbsp; I got this error message:&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;workspace already in transaction mode.&amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;Then I switched my connection to my edit version so the table in my map project and connection file all point to the same version.&amp;nbsp; My script worked.&amp;nbsp; The new rows were inserted successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&amp;nbsp; is there a way that I can set up the workspace to point to my editing version in the code?&amp;nbsp; My users change versions during the daily work and it is really a problem if they have to create a lot of connection files that point to different versions.&amp;nbsp; I have searched and I did not find any useful info.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 22:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-in-editor-object-in-arcgis-pro-2-9/m-p/1197731#M65106</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2022-07-30T22:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: workspace in editor object in ArcGIS Pro 2.9</title>
      <link>https://community.esri.com/t5/python-questions/workspace-in-editor-object-in-arcgis-pro-2-9/m-p/1197961#M65109</link>
      <description>&lt;P&gt;Take a look at this arcpy method:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/changeversion.htm" target="_blank" rel="noopener"&gt;ChangeVersion&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 13:59:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-in-editor-object-in-arcgis-pro-2-9/m-p/1197961#M65109</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-08-01T13:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: workspace in editor object in ArcGIS Pro 2.9</title>
      <link>https://community.esri.com/t5/python-questions/workspace-in-editor-object-in-arcgis-pro-2-9/m-p/1198292#M65111</link>
      <description>&lt;P&gt;I may miss something.&amp;nbsp; The change version geoprocessing tool only changes the version of a layer or table.&amp;nbsp; It is not for a workspace.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 21:32:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-in-editor-object-in-arcgis-pro-2-9/m-p/1198292#M65111</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2022-08-01T21:32:31Z</dc:date>
    </item>
  </channel>
</rss>

