Dropbox Integration Setup

The setup of the Dropbox integration consists of the following steps. These steps can all be performed on the server where the ExtraView web application is installed, although the generation of the access codes step can be performed on any computer with Java installed. The installation and configuration steps need to be performed only once for an ExtraView application.

Download Integration Software and Codes

Download the following files from the ExtraView download site. If you are not familiar with the download site, please contact the ExtraView support group.


In addition, obtain the Dropbox ExtraView app Key and Secret text values, required for the integration, from ExtraView Support. These values are similar to the following:

App Key: 234uio99834ljkfdsa
App Secret: asdfxzcv90342jk

Install Java

If you don't already have Java installed, download the latest Java runtime and install it according to the installer and instructions provided on the Java website.

Generate the Dropbox Access Codes

You must give the Dropbox ExtraView app access to your Dropbox account. Extract the GetDropboxAccessToken.zip file into a new directory, which will contain the following files:


The lib directory contains additional files necessary for the integration.

Note: You must perform these steps within five minutes as the URL generated is only valid for a limited amount of time.

Open a Command Prompt window on your local computer and execute the following commands, replacing the uppercase strings with appropriate values for your computer:

JAVA_HOME/bin/java -jar GetDropboxAccessToken.jar <APP_KEY> <APP_SECRET>

where <NEW_DIRECTORY> is the newly created directory with the contents of the GetDropboxAccessToken.zip file, JAVA_HOME is the path to your Java installation directory, <APP_KEY> and <APP_SECRET> are the Dropbox ExtraView app Key and Secret values you received from ExtraView. Information similar to the following will display in the Command Prompt window:

1. Using a web browser, go to: https://www.dropbox.com:443/1/oauth/authorize?oauth_token=abc123def456ghi789&locale=en
2. Allow access to this app
3. Press ENTER.

Load the URL listed above in Step 1 within a web browser and follow the prompts to allow access to the Dropbox ExtraView app - this is Step 2. Once you click the Allow button on the Dropbox website, then go back to the Command Prompt window and press the Enter key as Step 3 indicates. Information similar to the following will display in the Command Prompt window:

Access Key: qwer890vxc2314g
Access Secret: sfad890uopi342a

Save the Access Key and Secret values for the next step in the integration setup.

Note: If you encounter an error while running the commands above in the Command Prompt, or the Access Key and Secret values are not displayed, then verify that you have performed the steps exactly as instructed and have used the appropriate Dropbox ExtraView app Key and Secret values. If you still receive an error, then contact ExtraView Support for assistance.

Configure ExtraView

The following settings need to be added to ExtraView's Configuration.properties file with the app and access codes used and generated in the previous section. This file is situated in the directory WEB-INF/configuration:


Log into the ExtraView web application with an account that has administrative privileges and set the following Behavior Setting to the value indicated:

USER_CUSTOM_CLASSNAME = com.extraview.usercustom.DropboxIntegration

Decide where all the files (attachments, document and image fields) uploaded to ExtraView are to be stored. The ATTACHMENT_REPOSITORY_OPT behavior setting controls this behavior. If all files are to be stored in the Dropbox account instead of the ExtraView database or on the filesystem, then set the behavior setting to the following value:


Install Custom Code

Install the DropboxIntegration.class custom code file by copying it to the following location in your ExtraView installation:


where <evj> is the directory where the ExtraView application is installed. (Note: You will need to create the directory tree if it doesn't exist.) If you already have a custom code file for your installation, the source files must be merged and compiled. Contact ExtraView support for help with this step.

Next, install the following files extracted from GetDropboxAccessToken.zip (into NEW_DIRECTORY/lib above), to the <evj>/WEB-INF/lib/ directory of your ExtraView installation.


Lastly re-start the ExtraView web application in order for the integration to take effect.