Skip To Content

Disable Editor Tracking

Summary

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

Usage

  • 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, and mosaic datasets in a 10.0 or later release geodatabase.

Syntax

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

The feature class, table, or mosaic dataset that will have editor tracking disabled.

Dataset
creator
(Optional)

Indicates whether to disable editor tracking for the creator field.

  • 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)

Indicates whether to disable editor tracking for the creation date field.

  • 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)

Indicates whether to disable editor tracking for the last editor field.

  • 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)

Indicates whether to disable editor tracking for the last edit date field.

  • 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

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

  • ArcGIS Desktop Basic: Yes
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics