Using Branch Versioning in AGOL

1015
4
09-30-2022 12:01 AM
glasbergenm
New Contributor II

Based on the advise of our Enterprise Geodatabase administrator, I looked at using branch versioning my data on our Enterprise Geodatabase to be able to keep the original data 'clean' (the DEFAULT version) and allowing a client to make changes in a predefined version. This way, I'm able to reconcile the changes before posting them to the default version. Testing this behavior shows that this works fine when using the data in ArcGIS Pro. But we use these services in eg. web maps, web map applications and storymaps either through a PDS, ArcGIS Online or an Enterprise environment. Every change I make through these portals immediately appears in the default version and I can't figure out how to change this.

0 Kudos
4 Replies
ChristopherCounsell
MVP Regular Contributor

This is expected behaviour. When branched versioning first came out, only ArcGIS Pro supported the version management capability and other apps (Web Map) would apply the edits directly to default.

Over time apps such as the Experience Builder have introduced some support for branched versioning:

https://www.esri.com/arcgis-blog/products/arcgis-enterprise/data-management/manage-your-branch-versi...

https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/branch-version-management-widg...

General scenarios:

https://pro.arcgis.com/en/pro-app/2.8/help/data/geodatabases/overview/branch-version-scenarios.htm

For offline maps:

https://enterprise.arcgis.com/en/server/latest/publish-services/windows/offline-maps-and-branch-vers...

Please don't forget the kudos 🙂

glasbergenm
New Contributor II

Hmm, that explains why that part doesn't work. It does not explain why the Experience Builder widget doesn't recognize the dataset as versioned (where Pro does recognize it). But perhaps this could be the result of the ArcGIS Server version on our Enterprise environment?

0 Kudos
MarlonAmaya
Esri Contributor

@glasbergenm 

The above article are great resources. Here is another post from a user as well with a good resource.

https://community.esri.com/t5/arcgis-enterprise-questions/use-branch-version-in-map-viewer/m-p/11461...

0 Kudos
glasbergenm
New Contributor II

Thnx. The solution using https://serverName.esri.com/server/rest/services/serviceName/FeatureServer/4?gdbversion=versionName seemed very straightforward, but didn't work either. Annoying thing is that Enterprise Builder doesn't recognize the feature layer as versioned, if I add the data it returns Not a valid versioned service (although it works perfectly fine in ArcGIS Pro). 

0 Kudos