Copy to SharePoint
Copies items from the current library to another library within SharePoint.
When the workflow is running on document libraries, the item that the workflow is running on will be copied. In a list, any attachments on the list item that the workflow is running on will be copied.
Action settings
Section |
Field |
Description |
---|---|---|
(Unlabeled) |
Destination |
Select a location enables a site picker (Select a document library or folder) to navigate through the portal structure of the current SharePoint environment and select the library to which the document will be copied. Folders and sub-folders can be selected. Enter a URL allows manual entry of the URL or selection using Insert Reference. To copy a file to a remote environment, Enter a URL must be used. For more details on using Insert Reference, please refer to Insert references. |
|
Copy InfoPath form/ Copy embedded attachment |
This option is available when designing a workflow on a form library. It allows for InfoPath attachments embedded in the form to be extracted and copied. The XPath query is used to indicate where in the form XML structure the attachments exist. If the XPath query evaluates to more than one attachment node, each attachment will be copied. To copy the actual form item in the form library, choose the Copy InfoPath form option. |
|
Overwrite options |
Use this setting to determine the behavior when a file with the same name already exists in the destination.
|
|
Create folder structure |
Check this box to replicate a folder structure in the target library if the item being copied is in a sub folder. This option is not applicable when the destination is a remote SharePoint environment. |
|
Copy item meta data |
Check this box to set the item properties on the target item to the same values as the source item. Only matching fields will have their values copied. |
|
Store result in |
Stores the new URLs of the copied files into a text or collection variable. |
Override credentials |
Credentials |
If the destination library is on a remote SharePoint environment, credentials with access to upload files are required. For copying files to a SharePoint site in the same environment as the workflow, the workflow automatically uses permissions with global SharePoint access if no other credentials are specified. To copy the item as a specific account in the local farm, enter the user credentials. When a file is copied to the local farm with the global system account (i.e. no alternative credentials are specified), workflows in the destination location will not start automatically. |