<?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: Editor tracking - read configuration in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678628#M38463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wanted to add that I was looking for this same info.&amp;nbsp; I want to report out what features classes have edit tracking set and with what values.&amp;nbsp; It would appear that there is no way to get at this information.&amp;nbsp; Or at least not a documented way in ArcObjects.&amp;nbsp; The IDataObjectTable2 interface appears to be coming from ArcServer and sounds like it may have been dropped as of 10.1.&amp;nbsp; And as mentioned IDEEditorTracking is for geoprocessing.&amp;nbsp; Why is this not available?&amp;nbsp; We're given a method to set these values but not read them.&amp;nbsp; Ug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2014 03:51:21 GMT</pubDate>
    <dc:creator>BillyBuerger</dc:creator>
    <dc:date>2014-07-24T03:51:21Z</dc:date>
    <item>
      <title>Editor tracking - read configuration</title>
      <link>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678627#M38462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Editor tracking. When I'm creating new table I setup it like that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IClassSchemaEdit4 schemaEdit = ......&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;schemaEdit.IsTimeInUTC = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;schemaEdit.EditedAtFieldName = "MODIFICATIONDATE";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that I need to read those settings somehow. I unable to find how to access that info when I have ITable interface (cast to what?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found IEditorTrackingInfo interface. But I unable to find how I can access it from ITable. I found that IDataObjectTable2 has EditorTrackingInfo property, but here again, I need to go from ITable to IDataObjectTable2 somehow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also such info exits in IDEEditorTracking interface, but it's for geoprocessing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Strange that it's not possible to access those properties in easy way - usually new things are available when you cast to some new interface, but it seems no this time. Any help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 07:33:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678627#M38462</guid>
      <dc:creator>DariusBuinovskij2</dc:creator>
      <dc:date>2013-09-26T07:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Editor tracking - read configuration</title>
      <link>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678628#M38463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wanted to add that I was looking for this same info.&amp;nbsp; I want to report out what features classes have edit tracking set and with what values.&amp;nbsp; It would appear that there is no way to get at this information.&amp;nbsp; Or at least not a documented way in ArcObjects.&amp;nbsp; The IDataObjectTable2 interface appears to be coming from ArcServer and sounds like it may have been dropped as of 10.1.&amp;nbsp; And as mentioned IDEEditorTracking is for geoprocessing.&amp;nbsp; Why is this not available?&amp;nbsp; We're given a method to set these values but not read them.&amp;nbsp; Ug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 03:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678628#M38463</guid>
      <dc:creator>BillyBuerger</dc:creator>
      <dc:date>2014-07-24T03:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Editor tracking - read configuration</title>
      <link>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678629#M38464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you ever found a solution for this? We're currently facing a similar problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 14:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678629#M38464</guid>
      <dc:creator>AndryJoos</dc:creator>
      <dc:date>2015-09-09T14:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Editor tracking - read configuration</title>
      <link>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678630#M38465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, yes I did.&amp;nbsp; Unfortunately, it does require using the geoprocessor since ArcObjects still doesn't have a way to read this information.&amp;nbsp; But using the Geoprocessor and the IDEEditorTracking interface will give you the current edit tracking configuration information.&amp;nbsp; Here's a snippet that should give you the info on a specific feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Debug.Print("Name, Enabled, CreatedAtFieldName, CreatorFieldName, EditedAtFieldName, EditorFieldName");

string ClassPath = @"D:\Data\Test.gdb\FeatClass";
object DataType = "";
IDataElement DataElement = GP.GetDataElement(ClassPath, ref DataType);
IDEEditorTracking DeEditTrack = (IDEEditorTracking)DataElement;

if (DeEditTrack.EditorTrackingEnabled)
{
&amp;nbsp;&amp;nbsp; Debug.Print("{0}, true, {1}, {2}, {3}, {4}", ClassPath, DeEditTrack.CreatedAtFieldName, DeEditTrack.CreatorFieldName, DeEditTrack.EditedAtFieldName, DeEditTrack.EditorFieldName);
}
else
{
&amp;nbsp;&amp;nbsp; Debug.Print("{0}, false", ClassPath);
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678630#M38465</guid>
      <dc:creator>BillyBuerger</dc:creator>
      <dc:date>2021-12-12T04:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Editor tracking - read configuration</title>
      <link>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678631#M38466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi William! Thank you for your answer and the snippet! This might work for our case too, and I will try it right away.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 10:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/editor-tracking-read-configuration/m-p/678631#M38466</guid>
      <dc:creator>AndryJoos</dc:creator>
      <dc:date>2015-09-10T10:15:15Z</dc:date>
    </item>
  </channel>
</rss>

