3

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?

http://help.arcgis.com/en/geodatabase/10.0/sdk/arcsde/api/capi/versioning/archcreate.htm

Any direction would be helpful.

0

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, privacy policy and cookie policy

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