<?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 can i start the edit session for a layer warehoused in a geodatabase in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601249#M46994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Instead of "mxd" , you want to put the full path of the geodatabase&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2012 10:33:58 GMT</pubDate>
    <dc:creator>BruceBacia</dc:creator>
    <dc:date>2012-08-31T10:33:58Z</dc:date>
    <item>
      <title>How can i start the edit session for a layer warehoused in a geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601248#M46993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the runtimeerror i get anytime i try to start an edit session for my layers warehoused in a geodatabase;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;gt;&amp;gt;&amp;gt; edit = arcpy.da.Editor(mxd) Runtime error&amp;nbsp; Traceback (most recent call last): &amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt; RuntimeError: cannot open workspace &amp;gt;&amp;gt;&amp;gt; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please how can i overwhelm this problem of mine? Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 05:00:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601248#M46993</guid>
      <dc:creator>OLANIYANOLAKUNLE</dc:creator>
      <dc:date>2012-08-31T05:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can i start the edit session for a layer warehoused in a geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601249#M46994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Instead of "mxd" , you want to put the full path of the geodatabase&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 10:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601249#M46994</guid>
      <dc:creator>BruceBacia</dc:creator>
      <dc:date>2012-08-31T10:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can i start the edit session for a layer warehoused in a geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601250#M46995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;gdb = r"C:\AllMyLayers.gdb" edit = arcpy.da.editor(gdb) edit.startEditing()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #you may want to adjust the parameters here.&amp;nbsp; You can read up on the documentation&amp;nbsp; ---whatever you want to do in your editing session&amp;nbsp; edit.stopEditing()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #again, you may want to adjust the save parameter.&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 12:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601250#M46995</guid>
      <dc:creator>BruceBacia</dc:creator>
      <dc:date>2012-08-31T12:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can i start the edit session for a layer warehoused in a geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601251#M46996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you that trick did it...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 17:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601251#M46996</guid>
      <dc:creator>OLANIYANOLAKUNLE</dc:creator>
      <dc:date>2012-08-31T17:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can i start the edit session for a layer warehoused in a geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601252#M46997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to pass the selection query below for a layer in my Geodatabase, how can i get i to be like the second query, the 1st 1 is not working;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.SelectLayerByAttribute_management("Parcels", "NEW_SELECTION", '"TDPDetails"' + "=" + "'" + selection + "'")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.SelectLayerByAttribute_management("Parcels", "NEW_SELECTION", [TDPDetails] + "=" + "'" + selection + "'")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i replace "TDPDetails" with [TDPDetails]?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 18:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601252#M46997</guid>
      <dc:creator>OLANIYANOLAKUNLE</dc:creator>
      <dc:date>2012-08-31T18:29:38Z</dc:date>
    </item>
    <item>
      <title>How can i start the edit session for a layer warehoused in an ArcSDE geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601253#M46998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can i start the edit session for a layer warehoused in an ArcSDE geodatabase, I have moved my geodatabase to an ArcSDE geodatabase and ive been trying to start editing and it is giving me the error below; Please how do i go about this. Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; gds = r"C:/Users/Administrator/AppData/Roaming/ESRI/Desktop10.1/ArcCatalog/GISSERVER_SQLEXPRESS.gds/KWAGISMAIN"
edit = arcpy.da.Editor(gds)
Runtime error 
Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;
RuntimeError: cannot open workspace&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601253#M46998</guid>
      <dc:creator>OLANIYANOLAKUNLE</dc:creator>
      <dc:date>2021-12-12T01:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can i start the edit session for a layer warehoused in a geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601254#M46999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I'm using Addin Assistant to make a button that will cycle edit sessions but I see that ArcPy wants the exact location of the GDB... Can I use a variable or function to pick up the layers that are visible so the user can cycle through those? They could be anything, anywhere... SDE, FGDB, PGDB etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gregg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 May 2013 11:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601254#M46999</guid>
      <dc:creator>GreggPitts</dc:creator>
      <dc:date>2013-05-25T11:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can i start the edit session for a layer warehoused in a geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601255#M47000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you want is likely an 'Editor' object&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018w00000005000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//018w00000005000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt;&lt;/P&gt;&lt;P&gt; .. resources.arcgis.com/en/help/main/10.2/index.html#//00s300000008000000&lt;/P&gt;&lt;P&gt;/Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 12:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-start-the-edit-session-for-a-layer/m-p/601255#M47000</guid>
      <dc:creator>MartinHvidberg</dc:creator>
      <dc:date>2015-08-31T12:34:19Z</dc:date>
    </item>
  </channel>
</rss>

