Select to view content in your preferred language

How to get a search cursor on a particular version in arcpy

3912
1
11-26-2014 05:52 PM
MahdiKefayati
Deactivated User

I have a versioned database in ArcGIS and I am wondering how can I tell arcpy what version to query. The closest I have got to an answer has been building a particular connection file that specifies the version to connect to, or use `ChangeVersion_management` which only works on layers and views.

I can easily do that in a published map on the web using ArcGIS JS API by setting the version using layer.setGDBVersion(version)

Tags (2)
0 Kudos
1 Reply
JoshuaBixby
MVP Esteemed Contributor

This question was originally cross posted to StackExchange, where it received feedback, some of which was marked best answer.

Geographic Information Systems Stack Exchange >  How to get a search cursor on a particular version in arcpy