Select to view content in your preferred language

ArcPro is automatically saving edits on the default branch

758
2
06-14-2024 11:54 AM
Gurunara
Frequent Contributor

ArcPro is automatically saving edits on the default branch, this is not happening on branch version. There edits are not committed until user clicks on save (or discard).

0 Kudos
2 Replies
Scott_Harris
Esri Regular Contributor

@Gurunara that is expected behavior:

From the doc

When the Version Management capability is enabled on the web feature layer, you cannot undo and redo edits you make to data in the default version.


 

0 Kudos
James_Blouin
Occasional Contributor

@Gurunara - I have developed an ArcGIS Pro add-in that attempts to alert and prevent certain edits when users have features/tables pointing to the branch Default version:

Default Version Guard - ArcGIS Pro SDK add-in - Esri Community

Feature service edits to the Default branch version are "short-type" transactions and that transaction type doesn't have the save/discard capability. See the ProConcepts Editing wiki for more info.

DatasetCancel EditUndo/RedoSave/DiscardEditOperationType
Feature Service (Branch, Default)YesNoNoSHORT
Feature Service (Branch, Named)YesYesYesLONG
0 Kudos