Upload Content To Box
  • 26 Feb 2024
  • 2 Minutes to read
  • Dark
    Light

Upload Content To Box

  • Dark
    Light

Article summary

General

This type of action can be used to upload content (such as external files or report documents) to Box.

Properties

This type of action has the following properties:

Name

Description
Client IDThe client ID of the Box instance to upload content to.
Client SecretThe client secret of the Box instance to upload content to.
Public Key IDThe client ID of the Box instance to upload content to.
Private KeyThe Private Key of the Box instance to upload content to.
PassphraseThe Passphrase of the Box instance to upload content to.
Enterprise IDThe Enterprise ID of the Box instance to upload content to.
Content TypeThe type of content you want to upload (see below).
Has PasswordOption to assign a password to the file.
PasswordPassword to retrieve the file.
Remote PathAn Expression that evaluates to a string that contains the remote path to upload the content to.

Content Types

Uploading a Report Document

You can upload a report document (that you have previously created, for instance with a Create Report Document Action) by setting the Content Type to Report Document. An additional property Content will be available where you can select the report document you want to upload. The Remote Path property must return the relative path on the SharePoint instance including the file name (but excluding the file extension).

Uploading an External File

You can upload an external file to the SharePoint instance by setting the property Content Type to External File. A new property Content Path will be available which is an Expression that evaluates to a string that contains a local or UNC file path to the external file to upload to the SharePoint instance. The Remote Path property must return the relative path on the SharePoint instance including the file name (but excluding the file extension).

Uploading a File Collection

You can upload all files of a File Collection by setting the property Content Type to File Collection. A new property Content will be available where you can select the file collection to upload. The Remote Path property must return the relative path on the SharePoint instance but not include any file name, because the file names of the content of the file collections will be used for the upload.

Uploading a Zipped File Collection

You can upload a ZIP file that contains all files of a File Collection by setting the property Content Type to Zipped File Collection. A new property Content will be available where you can select the file collection to zip and upload. The Remote Path property must return the relative path on the SharePoint instance including the file name of the uploaded ZIP file (but excluding the file extension).


Was this article helpful?