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.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Nov 20, 2012 at 21:04

1 Answer 1

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.

answered May 11, 2014 at 0:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.