Summary
Disables editor tracking on a feature class, table, mosaic dataset, or raster catalog.
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, mosaic datasets, and raster catalogs in a 10.0 or later release geodatabase.
Syntax
arcpy.management.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 in which editor tracking will be disabled. | Dataset |
creator (Optional) | Specifies whether editor tracking for the creator field will be disabled.
| Boolean |
creation_date (Optional) | Specifies whether editor tracking for the creation date field will be disabled.
| Boolean |
last_editor (Optional) | Specifies whether editor tracking for the last editor field will be disabled.
| Boolean |
last_edit_date (Optional) | Specifies whether editor tracking for the last edit date field will be disabled.
| 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