<?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: Bug with arcpy.management.EnableEditorTracking on Enterprise 10.9.1 in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1562289#M41052</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/118250"&gt;@MaximeDemers&lt;/a&gt;&amp;nbsp;- the keywords you are using 'None' for are optional and should only be used if you have a pre-existing field in your dataset that you want the tool to use instead of the default values the tool will create. I don't believe this to be a bug, if you can remove those three keywords from your script, it should run successfully.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristianWells_0-1732554693716.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120369i79F464A875245FC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChristianWells_0-1732554693716.png" alt="ChristianWells_0-1732554693716.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2024 17:11:39 GMT</pubDate>
    <dc:creator>ChristianWells</dc:creator>
    <dc:date>2024-11-25T17:11:39Z</dc:date>
    <item>
      <title>Bug with arcpy.management.EnableEditorTracking on Enterprise 10.9.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1559848#M40997</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I encounter a bug when I use arcpy.management.EnableEditorTracking on &lt;STRONG&gt;ArcGIS Enterprise 10.9.1 (not ArcGIS Pro)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The method seems to not support the None value for the fields parameters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy, os

FC = os.path.join(r"\\server", "my_database.sde", "my_feature_class")
arcpy.management.EnableEditorTracking(
    in_dataset = FC,
    creator_field = None,
    creation_date_field = None,
    last_editor_field = None,
    last_edit_date_field = "et_last_edit_date",
    add_fields = "ADD_FIELDS",
    record_dates_in = "UTC"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we can see in the screenshot, the &lt;STRONG&gt;et_last_edit_date&lt;/STRONG&gt; field is applied to the creator field (Champ d'auteur in french) not the last edit date field as it is specified in the code above.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaximeDemers_0-1731957727631.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119777i6278C762421708B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MaximeDemers_0-1731957727631.png" alt="MaximeDemers_0-1731957727631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 19:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1559848#M40997</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2024-11-18T19:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with arcpy.management.EnableEditorTracking on Enterprise 10.9.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1560179#M41007</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/118250"&gt;@MaximeDemers&lt;/a&gt;&lt;/SPAN&gt;, we appreciate you sharing a potential bug with the broader Esri Community; however, Esri does not actively track software defects posted here. The official channel for investigating and validating bugs is &lt;A href="https://www.esri.com/en-us/contact?rsource=%2Fcontact#c=us&amp;amp;t=5" target="_blank"&gt;Esri Technical Support&lt;/A&gt;. All customers experiencing a potential software bug should leverage technical support to report and investigate the issue.&lt;/P&gt;
&lt;P&gt;By reporting bugs through technical support, Esri can better track the scope and impact of the issue across all our customers and better prioritize it with our product teams. Our teams can also investigate the issue more thoroughly to see if there is a solution, workaround, or patch to get you back up and running as soon as possible.&lt;/P&gt;
&lt;P&gt;As a reminder, Esri Community is primarily a self-service support platform where Esri users can ask or answer each other’s questions, share feature requests, and collaborate to solve problems with GIS.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;*Note that this is a scripted message prompted when posts allude to a potential product bug.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 13:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1560179#M41007</guid>
      <dc:creator>JesseCloutier</dc:creator>
      <dc:date>2024-11-19T13:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with arcpy.management.EnableEditorTracking on Enterprise 10.9.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1560192#M41008</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/588217"&gt;@JesseCloutier&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe Esri should have a simple platform to submit bugs like on github. I would like to help Esri improve their product but I dont have time to call the technical support.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 14:06:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1560192#M41008</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2024-11-19T14:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with arcpy.management.EnableEditorTracking on Enterprise 10.9.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1562289#M41052</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/118250"&gt;@MaximeDemers&lt;/a&gt;&amp;nbsp;- the keywords you are using 'None' for are optional and should only be used if you have a pre-existing field in your dataset that you want the tool to use instead of the default values the tool will create. I don't believe this to be a bug, if you can remove those three keywords from your script, it should run successfully.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristianWells_0-1732554693716.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120369i79F464A875245FC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChristianWells_0-1732554693716.png" alt="ChristianWells_0-1732554693716.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 17:11:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1562289#M41052</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2024-11-25T17:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with arcpy.management.EnableEditorTracking on Enterprise 10.9.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1562356#M41053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/98956"&gt;@ChristianWells&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for taking the time with this. Unfortunately, what you suggest does not solve the problem with the&amp;nbsp;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;management&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;EnableEditorTracking&lt;BR /&gt;&lt;BR /&gt;The script just not works when I remove the unused parameters.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.management.EnableEditorTracking(
    in_dataset = FC,
    last_edit_date_field = "et_last_edit_date",
    add_fields = "ADD_FIELDS",
    record_dates_in = "UTC"
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError:&amp;nbsp;ERROR&amp;nbsp;001215:&amp;nbsp;Enable&amp;nbsp;editor&amp;nbsp;tracking&amp;nbsp;skipped&amp;nbsp;for&amp;nbsp;field:&amp;nbsp;et_last_edit_date.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have tried all possibles parameters combinations and there is no way to make the function enable tracking editor only for the last modified date field.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 19:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/bug-with-arcpy-management-enableeditortracking-on/m-p/1562356#M41053</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2024-11-25T19:13:58Z</dc:date>
    </item>
  </channel>
</rss>

