Disable Editor Tracking (Data Management)

Summary

Disables editor tracking on a feature class, table, feature dataset, or mosaic dataset.

Usage

  • If the input dataset is from an enterprise geodatabase, it must be from a database connection established as the data owner.

  • When editor tracking is disabled on a field, editor tracking information will no longer be recorded in these fields when edits are made. You can reenable editor tracking with the Enable Editor Tracking tool.

  • This tool operates on feature classes, tables, feature datasets, and mosaic datasets in a 10.0 or later release geodatabase.

Syntax

DisableEditorTracking(in_dataset, {creator}, {creation_date}, {last_editor}, {last_edit_date})
ParameterExplanationData Type
in_dataset

The feature class, table, feature dataset, or mosaic dataset in which editor tracking will be disabled.

Dataset; Topology; Network Dataset
creator
(Optional)

Specifies whether editor tracking for the creator field will be disabled.

  • DISABLE_CREATOREditor tracking for the creator field will be disabled. This is the default.
  • NO_DISABLE_CREATOREditor tracking for the creator field will not be disabled.
Boolean
creation_date
(Optional)

Specifies whether editor tracking for the creation date field will be disabled.

  • DISABLE_CREATION_DATEEditor tracking for the creation date field will be disabled. This is the default.
  • NO_DISABLE_CREATION_DATEEditor tracking for the creation date field will not be disabled.
Boolean
last_editor
(Optional)

Specifies whether editor tracking for the last editor field will be disabled.

  • DISABLE_LAST_EDITOREditor tracking for the last editor field will be disabled. This is the default.
  • NO_DISABLE_LAST_EDITOREditor tracking for the last editor field will not be disabled.
Boolean
last_edit_date
(Optional)

Specifies whether editor tracking for the last edit date field will be disabled.

  • DISABLE_LAST_EDIT_DATEEditor tracking for the last edit date field will be disabled. This is the default.
  • NO_DISABLE_LAST_EDIT_DATEEditor tracking for the last edit date field will not be disabled.
Boolean

Derived Output

NameExplanationData Type
out_dataset

The updated input dataset.

Dataset

Code sample

DisableEditorTracking example (stand-alone script)

The following stand-alone script demonstrates how to disable editor tracking on a feature class.

# Name: DisableEditorTracking.py
# Description: Disables editor tracking on a feature class.

# Import arcpy module
import arcpy

# Local variables:
Buildings = "d:\\RC.gdb\\RC\\Buildings"

# Process: Disable Editor Tracking
arcpy.DisableEditorTracking_management(Buildings,
                                       "DISABLE_CREATOR",
                                       "DISABLE_CREATION_DATE",
                                       "DISABLE_LAST_EDITOR",
                                       "DISABLE_LAST_EDIT_DATE")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics