<?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: Re-enable editor tracking and use existing fields? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1310581#M53498</link>
    <description>&lt;P&gt;There is a geoprocessing tool called Enable Editor Tracking which allows you to specify the fields you prefer to use.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-edit-or-modify-the-editor-tracking-fields-for-ho-000025504" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/how-to-edit-or-modify-the-editor-tracking-fields-for-ho-000025504&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 16:51:57 GMT</pubDate>
    <dc:creator>RebeccaLoiselle</dc:creator>
    <dc:date>2023-07-21T16:51:57Z</dc:date>
    <item>
      <title>Re-enable editor tracking and use existing fields?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1285917#M51953</link>
      <description>&lt;P&gt;Hi all, I have a feature service that once upon a time I had enabled editor tracking. Each feature does indeed have a creator, editor, and timestamp, but at some point I must have turned the tracking off. I'm looking to re-enable tracking, but when I do this, instead of using the existing fields for Creator, CreationDate, etc. it added fields of Creator_1 and CreatonDate_1 and so on, populating them with the current time and my username. This is undesired -- I'd really just like it to keep the existing fields (and their values) and overwrite them &lt;EM&gt;next time&lt;/EM&gt; they are changed. As owner of the data, is there an easy way to do this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rburke_0-1683237608065.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69913i3E7E8E59C3F80EC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rburke_0-1683237608065.png" alt="rburke_0-1683237608065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 22:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1285917#M51953</guid>
      <dc:creator>wayfaringrob</dc:creator>
      <dc:date>2023-05-04T22:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable editor tracking and use existing fields?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1286625#M52025</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/501392"&gt;@wayfaringrob&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What steps did you use to re-enable the editor tracking?&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 08:23:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1286625#M52025</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2023-05-08T08:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable editor tracking and use existing fields?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1286771#M52031</link>
      <description>&lt;P&gt;I went to the feature layer's settings in AGO and turned it on.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 15:13:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1286771#M52031</guid>
      <dc:creator>wayfaringrob</dc:creator>
      <dc:date>2023-05-08T15:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable editor tracking and use existing fields?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1286819#M52033</link>
      <description>&lt;P&gt;I thought so alright. When I do this it works perfectly fine and re-instates the Editor Tracking fields. Long shot, but you can try the script below to see if you can update the JSON definition. Update the name of your fields in the dictionary if necessary, add in you feature service id, and point to the correct layer. Im not sure if all entries in the JSON can be updated this way. But at least you can rule out this approach. If it works you can then delete the newly created fields.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis import GIS

agol = GIS("home")

item = agol.content.get("AGOL_ITEM_ID")

## access the appropriate layer in the feature service
fl = item.layers[0]

## print properties and look for editFieldsInfo
print(fl.properties)

fl_update_dict = {
 "editFieldsInfo": {
    "creationDateField": "CreationDate",
    "creatorField": "CreatedBy",
    "editDateField": "EditedDate",
    "editorField": "EditedBy"
  }
}

## update definition, you can comment this out and re-run o print out definition
## to see if it has been updated.
fl.manager.update_definition(fl_update_dict)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 16:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1286819#M52033</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2023-05-08T16:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable editor tracking and use existing fields?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1302229#M53028</link>
      <description>&lt;P&gt;Just bringing this back up to see if anyone has found a solution for this?&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 20:37:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1302229#M53028</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-06-22T20:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable editor tracking and use existing fields?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1303415#M53101</link>
      <description>&lt;P&gt;The previous suggestion involving editing the JSON may work but I have not tried it.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 15:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1303415#M53101</guid>
      <dc:creator>wayfaringrob</dc:creator>
      <dc:date>2023-06-27T15:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable editor tracking and use existing fields?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1303471#M53103</link>
      <description>&lt;P&gt;Unfortunatly, this seems to be a field that ESRI doesn't allow editing...&lt;/P&gt;&lt;P&gt;Both the update definition in the REST, and the script reports 'Success', but no changes made.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 17:08:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1303471#M53103</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-06-27T17:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable editor tracking and use existing fields?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1310581#M53498</link>
      <description>&lt;P&gt;There is a geoprocessing tool called Enable Editor Tracking which allows you to specify the fields you prefer to use.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-edit-or-modify-the-editor-tracking-fields-for-ho-000025504" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/how-to-edit-or-modify-the-editor-tracking-fields-for-ho-000025504&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 16:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/re-enable-editor-tracking-and-use-existing-fields/m-p/1310581#M53498</guid>
      <dc:creator>RebeccaLoiselle</dc:creator>
      <dc:date>2023-07-21T16:51:57Z</dc:date>
    </item>
  </channel>
</rss>

