<?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: Locking fields in ArcGIS to maintain integrity of last_edited_user field in ArcGIS Collector Questions</title>
    <link>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697321#M11906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This leads to another caveat, since this feature class is consumed by a feature service, it is locked and I receive this error.&amp;nbsp; &lt;/P&gt;&lt;P&gt;EDIT: if I use arcpy.disconnectusers it stops my feature classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; File "C:/PeterScripts/Harbor.py", line 56, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.DisableEditorTracking_management(SDEFeatureClass)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\management.py", line 3529, in DisableEditorTracking&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;arcgisscripting.ExecuteError: ERROR 000464: Cannot get exclusive schema lock.&amp;nbsp; Either being edited or in use by another application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Failed to execute (DisableEditorTracking).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2015 17:21:46 GMT</pubDate>
    <dc:creator>GeoffreyWest</dc:creator>
    <dc:date>2015-02-03T17:21:46Z</dc:date>
    <item>
      <title>Locking fields in ArcGIS to maintain integrity of last_edited_user field</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697317#M11902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Collector for ArcGIS application which records the last_edited_user from the field, however post-processing needs to occur and overwrites my users from the field to my desktop user. Is there a way to lock the last_edited_user to maintain my initial edited user? I am using ArcGIS For Server 10.2.1 and SQL Server Database 2008 R2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 16:45:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697317#M11902</guid>
      <dc:creator>GeoffreyWest</dc:creator>
      <dc:date>2015-02-03T16:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Locking fields in ArcGIS to maintain integrity of last_edited_user field</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697318#M11903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geoffrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before your post-processing, you can &lt;A href="http://http//resources.arcgis.com/en/help/main/10.2/index.html#//00170000016m000000"&gt;Disable Editor Tracking&lt;/A&gt;.&amp;nbsp; After the post-processing is finished, you can then &lt;A href="http://http//resources.arcgis.com/en/help/main/10.2/index.html#//00170000016p000000"&gt;Enable Editor Tracking&lt;/A&gt;.&amp;nbsp; This workflow will not affect the editor tracking from the field collectors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 16:50:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697318#M11903</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-02-03T16:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Locking fields in ArcGIS to maintain integrity of last_edited_user field</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697319#M11904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sounds like the likely solution, my post-processing is in the form of a field calculation and a search cursor in a python script.&amp;nbsp; From a conceptual point of view, would I disable editor tracking at the beginning of the script and enable at the end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 17:12:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697319#M11904</guid>
      <dc:creator>GeoffreyWest</dc:creator>
      <dc:date>2015-02-03T17:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Locking fields in ArcGIS to maintain integrity of last_edited_user field</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697320#M11905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;From a conceptual point of view, would I disable editor tracking at the beginning of the script and enable at the end?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 17:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697320#M11905</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-02-03T17:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Locking fields in ArcGIS to maintain integrity of last_edited_user field</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697321#M11906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This leads to another caveat, since this feature class is consumed by a feature service, it is locked and I receive this error.&amp;nbsp; &lt;/P&gt;&lt;P&gt;EDIT: if I use arcpy.disconnectusers it stops my feature classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; File "C:/PeterScripts/Harbor.py", line 56, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.DisableEditorTracking_management(SDEFeatureClass)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\management.py", line 3529, in DisableEditorTracking&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;arcgisscripting.ExecuteError: ERROR 000464: Cannot get exclusive schema lock.&amp;nbsp; Either being edited or in use by another application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Failed to execute (DisableEditorTracking).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 17:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697321#M11906</guid>
      <dc:creator>GeoffreyWest</dc:creator>
      <dc:date>2015-02-03T17:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Locking fields in ArcGIS to maintain integrity of last_edited_user field</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697322#M11907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can disable schema locking on the service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005z9000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005z9000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 17:24:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/locking-fields-in-arcgis-to-maintain-integrity-of/m-p/697322#M11907</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-02-03T17:24:52Z</dc:date>
    </item>
  </channel>
</rss>

