hi all, I'm considering running this line of code I have here. I am trying to reconcile and post my edits in a feature class into a main database. My goal is to not delete all the versions I have in store for it. Below is the following code for it.
arcpy.ReconcileVersions_management (arcpy.env.workspace, "ALL_VERSIONS", defaultVersion, versionList, "LOCK_ACQUIRED", "NO_ABORT", "BY_OBJECT", "FAVOR_EDIT_VERSION", "POST", "KEEP_VERSION", reconcileLog)
thank you for any feedback.
Solved! Go to Solution.
Hello
If you look at the documentation for the Reconcile Versions tool:
https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/reconcile-versions.htm
and in particular the with_delete argument then if this is set to "KEEP_VERSION" then that will NOT DELETE the current edit version that was reconciled (according to the help documnention).
Before you run it in anger can you create a dummy version and make some edits to see what happens when you run the tool? Just to make sure the version is not deleted before you do it for real....
Make sure you satisfy the requirements to use the tool by reading the comments in the Usage section of the documentation too.
many thanks ed
Hello
If you look at the documentation for the Reconcile Versions tool:
https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/reconcile-versions.htm
and in particular the with_delete argument then if this is set to "KEEP_VERSION" then that will NOT DELETE the current edit version that was reconciled (according to the help documnention).
Before you run it in anger can you create a dummy version and make some edits to see what happens when you run the tool? Just to make sure the version is not deleted before you do it for real....
Make sure you satisfy the requirements to use the tool by reading the comments in the Usage section of the documentation too.
many thanks ed
ok thanks! but if i reconcile and post it would it affect the other versions also? thanks!