Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I would like to export those records identified as changes after running the Version Changes tool before running Reconcile and Post tools. Preferably with python or having python call a program to do the export of the Version Changes records to somewhere and then continue on with an automated reconcile/post process. But any solution would be most appreciated. Thanks.

share|improve this question
add comment

3 Answers 3

In order to find Version Changes between two Versions, all you have to do is use a DifferenceCursor. This is how any difference between versions (for example, detecting conflicts) is implemented internally. Make sure you open the tables that you pass in from the right version - people tend to make that mistake.

share|improve this answer
    
trust me, I know this will work :) haha –  Ragi Yaser Burhum May 29 '11 at 0:47
add comment

I think you will need to either add some data to your feature class or utilize the sde versioning tables to select the correct records.
I have seen systems utilize an update record date field. But you would need to manage that in your db or your work flow.
The sde versioning tables keep track of the adds, deletes, and updates (add/delete).
As for the automation of this I am helpless.
Have you spent any time on the edn website?
The resource page has a good 101 document
EDNDoc has some good info.
I think I did see a HasEdits that might help.
I did just read @mapperz response, but will leave these links as they are harder and harder to find these days.
I just noticed the show extent of modified objects code at the very bottom of link 2

share|improve this answer
add comment

This question is answered here: Is it possible to create a python script to rec/post versions?

debate:close this question?

share|improve this answer
1  
Automating rec/post != exporting changes before rec/post. –  Derek Swingley Mar 28 '11 at 17:48
    
@Swingley hence the option "debate" - can vote to close but chose not to because of the wording. –  Mapperz Mar 28 '11 at 18:05
1  
@Mapperz- My take is that this is a different question, I would not vote to close. –  Derek Swingley Mar 28 '11 at 18:08
    
I downvoted, as it is clear to me it is a different question than the one in the link and it is not answered there (and in my opion it is a far more interesting question, but that's only my opinion). –  jonatr Mar 29 '11 at 9:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.