Skip to main content
Solved

ArcSDE Geodatabase Transactional Version User Parameter?

  • March 20, 2014
  • 1 reply
  • 16 views

jon
Contributor
Forum|alt.badge.img+5
  • Contributor
I want to create a published user parameter to pick an existing ArcSDE version when using Prompt and Run.  I found this post (https://groups.google.com/forum/#!topic/fmetalk/uL_N9j9vDW4) from 2011 and sounds like there wasn't an easy way to create a user parameter and was hoping this has changed.

 

 

Essentially I want the "Choose SDE Version" dialog to open up and the user select the version they want.  The screenshot below shows the dialog I'm looking to use for the user parameter (note I removed some info from the graphic).

 

 

How do I create a user parameter to get the "Choose SDE Version" prompt?

 

 

 

 

Best answer by david_r

Hi,

 

 

the short answer: you can't, unless you define the SDE versions as a selectable list ("Choice") with hardcoded values.

 

 

The long answer is that you could create another workspace where you query SDE about the available versions (http://gis.stackexchange.com/questions/60339/how-can-i-list-sde-versions-using-python), prompt for one of those and then pass the string to a WorkspaceRunner and your current workspace. It's a bit of work, but should be feasible.

 

 

David
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Evangelist
  • Best Answer
  • March 20, 2014
Hi,

 

 

the short answer: you can't, unless you define the SDE versions as a selectable list ("Choice") with hardcoded values.

 

 

The long answer is that you could create another workspace where you query SDE about the available versions (http://gis.stackexchange.com/questions/60339/how-can-i-list-sde-versions-using-python), prompt for one of those and then pass the string to a WorkspaceRunner and your current workspace. It's a bit of work, but should be feasible.

 

 

David

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings