Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi everybody,
I am trying to receive the "recovered" Document after a checkout has been cancelled. I just tried using the PostCancelCheckout-Event which should be the latest Event fired after a checkout has been cancelled. The received Document, though, is the Document having all the changes that were made to the Document before the checkout was cancelled.
Does anyone know a way, respective an Event, that deilvers the original Doc?
Any help is appreciated.
Thank you in advance
To clarify, you have undone the checkout, so the document in your repository is unchanged, and wish to retrieve that document, correct?
You should be able to refresh the workspace, and then checkout the document.
Hi Tim,
first things first: thanks for your answer.
To clarify a little bit: I am doing the cancel checkout by clicking the option in AE. What I now do is programatically process the fired CancelCheckoutEvent thrown by AE.
Now that event gives me the document which was cancelled and therefor discarded. In AE the document returns to the state before the checkout, representing the Document as is in Windchill. Now what I try to do is get to some event which gives me back that restored one programatically.