I want to access the feature class of my newly created Versioned dataset (child) created from the default SDE using arcpy
Thank you for your time
It seems I got the solution. Whenever I am trying to change the version of SDE I should restart the ArcMap and then I was able to get the path of child version
Okay. Utilize the connection string you've created to that version as the path that arcpy follows....
Be sure you read up on how Esri's versioning model operates. There is no difference between the child and parent versions if no editing has occurred. The active version is a connnection property.
I have read the same and as you say active version is connection property but I am unable to get the path of the child version even I am trying to perform some operation let say arcpy.MakeFeatureLayer_management('path of child version feature class','any name for temporary new feature class')
I am getting an error
error 000732 does not exist or is not supported failed to execute
which clearly says I am unable to reach to my feature class for child version while the same operation happens when I give the path of default SDE version feature class [I just drag and drop in python Console of ArcMap, the feature class from SDE connection for a child and default version]
Is it a specific way to reach the path of child version?
You haven't provided enough useful information. What is the name of your user? What is the name of the version? From which version was the new version created. What exact parameter did you change on the connection UI?
No, this is not part of the standard workflow.
connection string changes (which is wrong) when I change my SDE to child version, while it's correct when from the default SDE
Retrieving data ...