Select to view content in your preferred language

Restore a version to a specific moment

88
1
Tuesday
MauroSantarossa
Emerging Contributor

Hi everyone,

Imagine the following situation:
I am inside a version.
At time T1 I perform some editing (startEdit-editing-stopEdit)
then at time T2 I perform more editing (startEdit-editing-stopEdit) and son on to time Tn.

Now I was wondering if it's possible to restore the version at time T1. Something like version.undoToSpecificMoment(T1)

I hope I have managed to explain my need clearly.

Thanks for your help.

1 Reply
RichRuh
Esri Regular Contributor

Not really.

Now if you call startEditing on the VersionManagementService object, you can call undo and redo as much as you want.  But once you call stopEditing, the edits are burned into the database.

--Rich

0 Kudos