Connect to Dropbox

Connects to the Dropbox service.

Command availability: IBM RPA SaaS and IBM RPA on premises

Description

Connects to the Dropbox service to perform operations with the stored files, returning in a variable the data of the connection that was established.

Script syntax

IBM RPA's proprietary script language has a syntax similar to other programming languages. The script syntax defines the command's syntax in the script file. You can work with this syntax in IBM RPA Studio's Script mode.

dropboxConnect --name(String) (FileSystem)=value

Dependencies

You must first configure a storage provider in Storage providers.

Input parameters

The following table displays the list of input parameters available in this command. In the table, you can see the parameter name when working in IBM RPA Studio's Script mode and its Designer mode equivalent label.

Designer mode label Script mode name Required Accepted variable types Description
Name name Required Text Account name registered in the Storage Provider.

Output parameters

Designer mode label Script mode name Accepted variable types Description
Connection value File System Connection that was established with Dropbox.

Example

This example connects to Dropbox and gets the files from the connection.

defVar --name drive --type FileSystem
defVar --name files --type List --innertype String
dropboxConnect --name dropbox drive=value
getFiles --path "/" --recursive  --fileSystem ${drive} files=value
logMessage --message "${files}" --type "Info"