.winshCopy Referenced Document

This plugin can copy one or more documents from one SharePoint library to another SharePoint library or folder.

The Copy Referenced Documents plug-in is used to copy documents to a SharePoint folder. The plug-in requires GUIDs (Globally Unique Identifiers) for the site collection, site, list, and items. Source Document libraries or folders can be on the same site or different sites.

This plugin has following parameters:

Property

Description

siteguidxpath

This is the Xpath of infopath field(s) which contains the GUID of the site collection that contains the document to be copied. If this isn't specified, the GUID of the sitecollection where the workflow is published is used. For example: /my:myFields/my:group1/my:group2/my:sitecollectionxpath.

webguidxpath

This is the Xpath of the InfoPath field(s) that contain the GUID of the SharePoint site that holds the a document to be copied.

XPath of the form field containing sharepoint site GUID. If this isn't specified, the GUID of the site collection where the workflow is published is used. For example: /my:myFields/my:group1/my:group2/my:sitexpath.

listguidxpath

This is Xpath of the InfoPath field(s) that contains the GUID of the list containing the a document to be copied. For example: /my:myFields/my:group1/my:group2/my:listxpath.

itemguidxpath

This is Xpath of InfoPath form field(s) that contain the GUID of the list that contains the document to be copied. For example: /my:myFields/my:group1/my:group2/my:itemxpath.

folderurl

This points to a SharePoint library or a folder within the SharePoint library. For example, in the URL http://wid085/formex/DocLib/Collections, the document library DocLib contains a folder called Collections.