Contact us

Copy List attachments to Document Library

This activity copies list item attachments to a document library.

copy_list_attachments_to_document_library_1

You can use the bulk update property to update fields for all copied files.

SharePoint Workflow Designer Phrase#

Copy this item attachments to list urlOverwrite existing items. Use bulk update to update fields.

Parameters#
ParameterDescription
this itemList item from which to extract attachments.
list URLParent folder URL. 
Example: http://mycompanydomain/site/doclib/subfolder
OverwriteIndicates that the activity overwrites existing files if they are already present.
bulk updateOptional. Bulk update string. Includes field names and values as lines:
[FieldName1]=[Value1]…[FieldNameN]=[ValueN]
Notes:
Use vti_title to update the title.
Use ModerationInformation.Status to update the content approval status.
Use ModerationInformation.Comment to update comments explaining why the item was approved or rejected.

Example:
Description=Test Description
Start Date=2010-12-10T12:30:00
Published=1
Choice=My Choice #3
Lookup=12;#
vti_title=My Super Title

Was this article helpful to you?

Updated on October 24, 2024