Select to view content in your preferred language

Branched Versioning tool to restore deleted features to Default version

222
3
3 weeks ago
Status: Open
Labels (1)
AlexMackenzie
Emerging Contributor

It would be great to have a geoprocessing tool and/or UI element added to the Historical Moments tool to restore features that have been deleted from the Default version of a feature layer with Branched Versioning.

The solution we received from support was to use Historical Moments to access the deleted features, export them to a feature layer on a file geodatabase and then use the Append tool to add them back to default. It worked, but it did require disabling some attribute rules...which then required stopping the feature service to free schema locks...requiring scheduling the work out-of-business-hours.

Tags (1)
3 Comments
MichaelVolz

Thank you for providing the complicated workflow to retrieve these features.

It would be great if ESRI could provide an easier solution though.

DavidSolari

I've been doing this for ages by altering the database tables directly, it'd be fantastic to make this a standard ArcGIS feature.

Colin_Zwicker

Take a look at the new to 12.1 moment on create version via REST.

https://developers.arcgis.com/rest/services-reference/enterprise/create/

"Specifies the moment that will be the common ancestor of the version. The moment value must be equal to or greater than the creationDate of the default version and less than the current moment."

Access your newly created version from the historic moment when the feature was still alive, modify the feature you want to restore (so its considered for posting), and Post.