Copy Document Plug-in
The Copy Document plug-in is used to create a copy of a document and deposit it to a file system directory. This plug-in is used in workflows published to DocEx sites.
Value Pair |
Description |
Mandatory |
directory |
The file system directory where the document is to be copied. |
Yes |
datafilename |
Specifies the new name for the data file document. NOTE: If this option is not used, the copy of the document will retain the same name as the source file in the document library. The extension remains the same in the copied document. The data file name value gets resolved to add the existing file extension to it. If not specified or empty then the original file name is used as is in the copied file. |
No |
includeitem |
DataFile: Copies the data file only. Supporting Document: Copies the supporting documents only. Both: Copies both the data file and the supporting document. |
Yes |
replace | Specifies whether the document should be replaced if one already exists. Default value is true. | |
supportingfilename |
Specifies the new name for the supporting file document. The extension remains the same in the copied document. The data file name value gets resolved to add the existing file extension to it. If not specified or empty then the original file name is used as is in the copied file. |
No |