I have a script that does some register as versioned and updating privileges.

How would I call into the c api for ArcSDE to enable archiving with python?


Any direction would be helpful.

1 Answer 1


I am not sure if this was available earlier than ArcGIS 10.2 for Desktop, but there is now a tool called Enable Archiving (Data Management) which:

Enables archiving on a table, feature layer, or feature dataset.

Its online documentation, which is linked above, provides an ArcPy code sample that:

illustrates how to use the EnableArchiving tool in a stand-alone script.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.