Summary
Disables editor tracking on a feature class, table, mosaic dataset, or raster catalog.
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, mosaic datasets, and raster catalogs in a 10.0 or later release geodatabase.
Syntax
DisableEditorTracking(in_dataset, {creator}, {creation_date}, {last_editor}, {last_edit_date})
Parameter | Explanation | Data Type |
in_dataset | The feature class, table, mosaic dataset, or raster catalog that will have editor tracking disabled. | Dataset |
creator (Optional) | Indicates whether to disable editor tracking for the creator field.
| Boolean |
creation_date (Optional) | Indicates whether to disable editor tracking for the creation date field.
| Boolean |
last_editor (Optional) | Indicates whether to disable editor tracking for the last editor field.
| Boolean |
last_edit_date (Optional) | Indicates whether to disable editor tracking for the last edit date field.
| Boolean |
Derived Output
Name | Explanation | Data 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