SharePoint upload file

Nintex external platform is required for this feature. For details, see Enable Nintex external platform features.

Uploads a file to a SharePoint document library.

Note: Not available for SharePoint 2007 sites.

Action settings

Following are the fields and options visible in the configuration settings dialog box for this action.

Section Field Description

(unlabeled)

File to upload

Select one of the following items.

  • Existing SharePoint Content: Enter the URL to the file within the current site.

  • Content: Provide the content to be added into the file.

  • Current item (option available for workflows associated with lists): Upload the current file that the workflow is running on.

 

Destination site URL

Specify the URL of the site where the file will be uploaded.

 

Folder path

Specify the document library name and folder names.

Example:  Shared Documents\Folder A\Subfolder A

 

File name

Specify the filename and extension to use.

 

Overwrite existing file

Specify whether or not to overwrite the file if a file with the same name already exists in the destination.

 

Fields

Specify file properties/metadata.

  • Builder: Update the file properties/metadata using the UI builder or view file properties/metadata to be updated in UI builder mode.

    To add a field, click Add field and specify field, type, and value.

    • Field
    • Type
    • Value

    To delete a field, click Delete ().

    To view the XML, click XML.

  • XML: Update the file properties/metadata using XML encoding or view file properties/metadata to be updated in XML mode.

Credentials

Authentication mode The mode to authenticate against the destination site.

 

Username

Specify a username with permissions to upload the file at the folder path specified.

 

Password

Specify the password for the above username.

 

Domain or SharePoint Online website domain

Specify the domain for the username if using Windows authentication mode, or specify the SharePoint Online domain URL if connecting to an Office 365 SharePoint Online site.

(unlabeled)

Output

Store output for this action using the following selections.

  • Link to uploaded file: Specify a workflow variable to store the URL of the uploaded file.
  • List item ID: Specify a number workflow variable to store the list item ID.
  • Upload successful: Specify a Yes/No variable to store whether or not the upload of the file was successful. Returns "Yes" if the file was successfully uploaded.