Based on one of our process requirements, we need to create a major version of an object and replace the content with another object.
I know it's possible using the combination of the following methods / classes
IDfCheckOut and IDfCheckIn operations and use IDFSysObject's getContent and setContent methods.
Before I jump into it, I wanted to check with all the experts out there, is there an efficient / better way of doing this ? is there a way to replace the next major version an object with another object ? (both in documentum) or something completely different ??
E.g
object A - version 1.0
object B - version 1.0
after the "magic" process
object A - version 2.0 (with the content of object
- doesn't matter what happens to object B, if its still a separate object.
Thanks a lot in advance.