Hi All,
We want to capture check out event, manipulate the contents of the document being checked out (say for example encrypt the contents) and allow user to check out such modified contents.
In order to achieve this, we wrote a TBO to capture checkout event and in that TBO we got access to IDFCheckoutOperation (clientX.getxxxOperation). We got content of the object being checked out, manipulated the contents the way wanted. We executed add and execute methods on checkoutOperation.
What we found out was, the execute operation calls back doCheckout method. This becomes a recursive call causing stack overflow.
My question ... is there a way to achieve what we want to do?
Another question is... This implementation (if it succeeds) may cause the user to checkout a different file than he intends to checkout. How can we address this situation?
Thanks in advance,