Copy/Move Attachments

⌘K

This activity allows to copy/move attachments from list item to other folder. Cross site copy is supported.

SharePoint Designer phrase

copy/move_attachments_1
Parameters

Output parameters

ParameterDescriptionExample
URLsReturns a list of copied filesVariable:fileURLs

Input parameters

ParameterDescriptionExample
MethodCopy or MoveCopy(0), Move(1)
ItemIDThe ID of the source item.Variable:ItemID
List identifierThe list where the item[%Workflow Context: List ID %]
will be stored. The value could be list name, guid or list url (the web site relative URL). If the value field is empty, current listwill be used./Lists/Tasks Tasks
DestinationUrlThe URL where the source folder will be copied/moved. You can use absolute URL as well as web site relative URLhttps://contoso/SiteUrl/LibraryName/FolderNa me[%Workflow Context:Current Site URL%]/siteURL/Source Documents/Documents/
SiteURLThe URL of a SharePoint site. If the value field is empty, current site will beused.[%Workflow Context:Current Site URL%]/ https://contoso/SiteUrl/
OverwriteOverwrite a file if thereis a file with the same nameYes/No

Example

copy/move_attachments_2

How can we help?