COPY
Use
This method is used to copy a document.
The application object (document set) is identified by the attributes described in the section Parameters. The content version is identified by the attributes also described in the section 'Parameters'.
A document is copied and the link is also copied. The following attributes are used as transfer parameters:
-
NEW_CLASSNAME
Class name, name of application class
-
NEW_CLASSTYPE
Class type, type of application class
-
NEW_OBJKEY
Object Key
-
NEW_CLIENT
Client This parameter is optional. You only need to set it for client-dependent documents.
In the Properties Table, the attribute name and attribute value are transferred.
The new document is attached either to the outgoing business object or a new document. The new variant is specified by the following attributes, analogously to the identification of the content version.
-
NEW_DOC_ID
Document identification
-
NEW_DOC_VER_NO
Document version number
-
NEW_DOC_VAR_ID
Document variant identification
This means that this method can be used for both copying and reassigning.