Clone Files

The Clone Files Plugin provides the ability to clone an identified file in a SharePoint Document Library and place the cloned file to a specified destination.

Download example (.wssln file)

Property

Description

sourcefile

Full link to the document to be cloned in the SharePoint Document Library.


Example: http://servername/sites/MyDocumentLibrary/WeeklyReports.docx

sourcefolder

Full link to the Folder in the SharePoint Document Library.


Example: http://servername/sites/MyDocumentLibrary/FolderName

destinationfile

Full link to the new destination with new file name.


Example: If I have a document called WeeklyReports.docx in MyDocumentLibrary1 and I want to clone it to MyDocumentLibrary2, my destinationfile would be:

http://servername/sites/MyDocumentLibrary2/TheNewNameToGiveTheFile.docx

destinationfolder

Full link to the Destination Folder in the SharePoint Document Library.

 

Example: http://servername/sites/MyDocumentLibrary/FolderName

Inserting and configuring the Add Attachment Plugin

  1. Add a Plugin Node to your workflow.

  2. Select the Plugin Node that you just added.
  3. In the Properties Pane, next to PlugInName, click the arrow and then select Clone Files.


  4. In the Properties Pane, , below the PluginName property, select ValuePairs. Enter your arguments.


  5. Select the Name property and select sourcefolder from the drop down.



  6. In the Value field, enter the Full Link to the Folder in the SharePoint Document Library that holds the files in which you would like to clone.

  7. Click Add to add a new argument.
  8. Under Arguments, next to Name, click the arrow and then select destinationfolder from the menu.


  9. In the Value field, enter the complete URL to the folder in the SharePoint document library where the cloned files will be placed.

  10. Click OK, and then click Publish to Publish your Winshuttle Solution.