Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

Upload Document plugin properties

The Upload Document plugin copies a file from the file system to a SharePoint document library.

NOTE: For site and list parameters, enter the site first, and then the list will be populated in the dropdown.

Value Pair

Description

file

The path to the file that is being copied to the document library.

folder

The name of the SharePoint document library to which to copy the document.

list

The list to which to upload the document.

replace

  • True: Replace a document if it already exists in the document library
  • False (default): Do not replace a document if it already exists in the document library. If this option is omitted, it defaults to False.

site

The SharePoint site that contains the document library to which you want to upload the document.

Example

  • file – d:\public files\documents\abc.doc
  • list – Shared Documents
  • replace – true
  • site – http://acme.com/documents

This example will upload the file at d:\public files\documents\abc.doc to the Shared Documents document library on the site http://acme.com/documents. The document will be placed in the top-level of the document library. No subfolder will be used.