I am looking for a way to create an Historical Marker programmatically with arcpy.
The archiving is enabled on a dataset in Oracle SDE.
I think, it's related with arcpy Version Toolset, but I can't find the documentation about this.
#this is an non-working attemp because CreateHistoricalMarker_management() method does not exists
import arcpy, datetime
my_dataset = "c:\\gis\\connection_file.sde\\an_archived_dataset\\a_feature_class"
marker_name = "A new dummy marker"
marker_datetime = datetime.datetime.utcnow()
arcpy.CreateHistoricalMarker_management(my_dataset, marker_name, marker_datetime)
>>>AttributeError: 'module' object has no attribute 'CreateHistoricalMarker_management'
CreateVersion_management()
arcpy method that it will work