<?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 do I tell if a feature class has editor tracking enabled? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230893#M6014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is odd though. I'd assumed the geoprocessing tools were all written in .NET as well. If that is the case there would need to be some class or interface they are using which I should be able to access as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 21:32:11 GMT</pubDate>
    <dc:creator>AllanMills</dc:creator>
    <dc:date>2018-03-12T21:32:11Z</dc:date>
    <item>
      <title>How do I tell if a feature class has editor tracking enabled?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230890#M6011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application that creates or updates a point feature class but only after the user has specified a line feature class that they are going to use associated with it. I want to detect if the user has editor tracking set on the line feature class and, if so, activate it on the point feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The problem is, I can't see how to detect if it is set or not. The IClassSchemaEdit4 interface lets me set the fields for tracking, but not read their contents to see if they are set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 01:14:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230890#M6011</guid>
      <dc:creator>AllanMills</dc:creator>
      <dc:date>2018-02-26T01:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tell if a feature class has editor tracking enabled?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230891#M6012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is one of those problems that at some point in the development of these tools and functionality the developers behind them changed their direction (presumably for good reasons) but consequently it is very difficult to work out how you achieve the task because the ArcObjects API help files are not sufficiently documented with links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are basically (through no fault of your own) looking at the entirely wrong branch of the ArcObjects tree! I regularly trip over this so do feel for you. This functionality is only accessible through the &lt;EM&gt;geoprocessor&lt;/EM&gt; accessing &lt;EM&gt;dataelements&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is some VBA to show you what you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Public Sub &lt;SPAN class="token function"&gt;Test&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 Dim pGeoProcessor As IGeoProcessor
 Set pGeoProcessor &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; New &lt;SPAN class="token class-name"&gt;GeoProcessor&lt;/SPAN&gt;
 Dim pDataElement As IDataElement
 Dim pGPDataType As IGPDataType
 Set pGPDataType &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; New &lt;SPAN class="token class-name"&gt;DEFeatureClassType&lt;/SPAN&gt;
 Set pDataElement &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pGeoProcessor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetDataElement&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"C:\Scratch\fGDB_Scratch.gdb\fcTempSorted"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; pGPDataType&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 Dim pDEEditorTracking As IDEEditorTracking
 Set pDEEditorTracking &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pDataElement
 Debug&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Print pDEEditorTracking&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;EditorTrackingEnabled
End Sub&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230891#M6012</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2021-12-11T11:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tell if a feature class has editor tracking enabled?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230892#M6013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I'll give that a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 21:15:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230892#M6013</guid>
      <dc:creator>AllanMills</dc:creator>
      <dc:date>2018-03-12T21:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tell if a feature class has editor tracking enabled?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230893#M6014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is odd though. I'd assumed the geoprocessing tools were all written in .NET as well. If that is the case there would need to be some class or interface they are using which I should be able to access as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 21:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-tell-if-a-feature-class-has-editor/m-p/230893#M6014</guid>
      <dc:creator>AllanMills</dc:creator>
      <dc:date>2018-03-12T21:32:11Z</dc:date>
    </item>
  </channel>
</rss>

