Select to view content in your preferred language

Find layers using branch versioning

224
3
04-01-2025 04:35 PM
MichaelJenkins
Frequent Contributor

As an ArcGIS Enterprise Administrator, I would like to be able to list out or otherwise identify all of the layers in my organization that are using branch versioning.

Is there a property in the Portal items that reveals if an item is connected to a branch versioned data source?

 

 

GISP
0 Kudos
3 Replies
ChrisUnderwood
Esri Regular Contributor

Hello @MichaelJenkins , you can see when a Service is Branch Versioned in ArcGIS Server Manager. You need to open the Capabilities section and look for "Version Management" being enabled.

ChrisUnderwood_0-1743581699769.png

 

David_McRitchie
Esri Regular Contributor

Hey Michael,

 

Just to add to Chris's comment, if you are looking for an automated way then the following bit in the Documentation might be useful. You can run a check when using a Describe operation to see if a dataset is versioned.

 

There is a useful code sample at the bottom of the doc that can be used. You could then use an if statement to highlight any records that have a yes value for Branch Versioning.

Hopefully that helps, please reach out if you encounter any issues in scripting this,

David

Esri UK -Technical Support Analyst
0 Kudos
MichaelJenkins
Frequent Contributor

Good info, thank you both.   I am hoping to be able to identify Portal items that use branch versioning and their owners.   

Since branch versioning requires as Advanced Editor license, and those are limited in our Portal, I'm thinking we will need to verify that a user with that license actually needs it.  One way to do that might be to look at the items they own or have access to and see if any of them use brach versioning.

In the scenario of using ArcGIS Manager to look at individual services' capabilities --- how could we at a minimum identify the owner of the service?  I know how to look at a Portal item and find out what AGS service it is using, but how to you look at an AGS service and know which item it is tied to in Portal?

 

 

GISP
0 Kudos