Good morning,
I created a new version using: arcpy.management.CreateVersion
Now I want to edit this specific version. How do populate the workspace with this new version in order to edit it?
arcpy.management.CreateVersion
'''''
workspace = ???????
edit = arcpy.da.Editor(workspace) edit.startEditing(False, True) edit.startOperation() ##CODE edit.stopOperation() edit.stopEditing(True)
According to this post, you will have to create a new connection which specifies the new version you created. Then use that connection as your workspace when you instantiate the edit class