AnsweredAssumed Answered

Check-in; adding versionable aspect

Question asked by lista on Mar 4, 2009
Latest reply on Mar 19, 2009 by lista
Hi all,

I'm trying to use the Check in/Check out API to do just that.
My problem appears once I try to add the versionable aspect to the node I'm checking out, so that the versioning works once I check the node back in.

//Add versionable aspect in order for check-in history to work
          var workingCopyNode = targetNode.checkout();

Problem is that adding aspect locks the node, and that stops me from checking it out.

I'm not sure how to go around this problem, and any help is appreciated. :)