Script to find 'move edits to base' versioning setting

373
3
11-25-2021 05:36 AM
ÅsaBlomberg
New Contributor II

We have many hundred feature classes and we discovered that some of them by mistake have the versioning setting 'move edits to base'.

Is there a way to find out which feature classes that have this setting? Maybe with SQL or python?

Microsoft SQL Server, ArcGIS Enterprise 10.8

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

Is this the tool that was used?

Register As Versioned (Data Management)—ArcGIS Pro | Documentation

or one of the other tools in the table of contents tree for the link above?

If it was, you would have to batch the tool

 


... sort of retired...
ÅsaBlomberg
New Contributor II

Thank you Dan! I will try to write a python-script with this function.

 

0 Kudos
ÅsaBlomberg
New Contributor II

Hi Dan!

It seems I have to un-register the datasets as versioned first?

I get error ERROR 000130: The dataset is already registered as version

0 Kudos