Script to find 'move edits to base' setting

208
1
11-25-2021 05:05 AM
Labels (3)
Å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
1 Reply
Mike_I
by Esri Contributor
Esri Contributor

Hello AsaBlomberg,

The best I was able to find was to use arcpy.Describe() function to return a True/False if the data is versioned or not. Unfortunately, this only returned True regardless of the versioned status (with or without the "Move-edits-to-base" option checked). See screenshot from Python window in ArcGIS Pro:

  • MikeIvison1_0-1640043336493.png

Here is the documentation for the Describe function: Describe function documentation. You could try looking through all the options to see if one would determine True/False for the "Move-edits-to-base" check box.

Cheers,

Mike

Data Management Specialist, Esri Support Services
0 Kudos