{"id":24434,"date":"2024-02-15T14:53:34","date_gmt":"2024-02-15T22:53:34","guid":{"rendered":"https:\/\/docs.extraview.com\/v25\/book\/dropbox-integration-setup-1\/"},"modified":"2025-02-18T15:31:51","modified_gmt":"2025-02-18T23:31:51","slug":"dropbox-integration-setup-1","status":"publish","type":"page","link":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/","title":{"rendered":"Dropbox Integration Setup"},"content":{"rendered":"<p>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.<\/p>\n<h3>\n\tDownload Integration Software and Codes<\/h3>\n<p>Download the following files from the ExtraView download site. If you are not familiar with the download site, please contact the ExtraView support group.<\/p>\n<p><span class=\"fixedWidthFont\">GetDropboxAccessToken.zip<br \/>\n\tDropboxIntegration.class <\/span><\/p>\n<p>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:<\/p>\n<p><span class=\"fixedWidthFont\">App Key: 234uio99834ljkfdsa<br \/>\n\tApp Secret: asdfxzcv90342jk <\/span><\/p>\n<h3>\n\tInstall Java<\/h3>\n<p>If you don&#8217;t already have Java installed, download the latest <a href=\"\/\/java.com\" target=\"_blank\" rel=\"noopener\">Java runtime<\/a> and install it according to the installer and instructions provided on the Java website.<\/p>\n<h3>\n\tGenerate the Dropbox Access Codes<\/h3>\n<p>You must give the Dropbox ExtraView app access to your Dropbox account. Extract the <span class=\"fixedWidthFont\">GetDropboxAccessToken.zip<\/span> file into a new directory, which will contain the following files:<\/p>\n<p><span class=\"fixedWidthFont\">NEW_DIRECTORY\/<br \/>\n\t&nbsp;&nbsp;&nbsp;GetDropboxAccessToken.jar<br \/>\n\t&nbsp;&nbsp;&nbsp;lib\/ <\/span><\/p>\n<p>The <span class=\"fixedWidthFont\">lib<\/span> directory contains additional files necessary for the integration.<\/p>\n<div class=\"textGreyBg\">\n\t<b>Note:<\/b> You must perform these steps within five minutes as the URL generated is only valid for a limited amount of time.<\/div>\n<p>Open a Command Prompt window on your local computer and execute the following commands, replacing the uppercase strings with appropriate values for your computer:<\/p>\n<p><span class=\"fixedWidthFont\">cd &lt;NEW_DIRECTORY&gt;&nbsp; <\/span><br \/>\n\t<span class=\"fixedWidthFont\">JAVA_HOME\/bin\/java -jar GetDropboxAccessToken.jar &lt;APP_KEY&gt; &lt;APP_SECRET&gt; <\/span><\/p>\n<p>where <span class=\"fixedWidthFont\">&lt;NEW_DIRECTORY&gt;<\/span> is the newly created directory with the contents of the GetDropboxAccessToken.zip file, <span class=\"fixedWidthFont\">JAVA_HOME<\/span> is the path to your Java installation directory, <span class=\"fixedWidthFont\">&lt;APP_KEY&gt;<\/span> and <span class=\"fixedWidthFont\">&lt;APP_SECRET&gt; <\/span>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:<\/p>\n<p><span class=\"fixedWidthFont\">1. Using a web browser, go to: <a href=\"443\/1\/oauth\/authorize?oauth_token=abc123def456ghi789&amp;locale=en\" target=\"_blank\" rel=\"noopener\"><code>https:\/\/www.dropbox.com:443\/1\/oauth\/authorize?oauth_token=abc123def456ghi789&amp;locale=en<\/code><\/a><code> <\/code><\/span><br \/>\n\t<span class=\"fixedWidthFont\">2. Allow access to this app<br \/>\n\t3. Press ENTER. <\/span><\/p>\n<p>Load the URL listed above in Step 1 within a web browser and follow the prompts to allow access to the Dropbox ExtraView app &#8211; 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:<\/p>\n<p><span class=\"fixedWidthFont\">Access Key: qwer890vxc2314g<br \/>\n\tAccess Secret: sfad890uopi342a <\/span><\/p>\n<p>Save the Access Key and Secret values for the next step in the integration setup.<\/p>\n<div class=\"textGreyBg\">\n\t<b>Note:<\/b> 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.<\/div>\n<h3>\n\tConfigure ExtraView<\/h3>\n<p>The following settings need to be added to ExtraView&#8217;s Configuration.properties file with the app and access codes used and generated in the previous section. This file is situated in the directory <span class=\"fixedWidthFont\">WEB-INF\/configuration<\/span>:<\/p>\n<p><span class=\"fixedWidthFont\">DROPBOX_APP_KEY = &lt;APP_KEY&gt;<br \/>\n\tDROPBOX_APP_SECRET = &lt;ACCESS_SECRET&gt;<br \/>\n\tDROPBOX_ACCESS_KEY = &lt;ACCESS_KEY&gt;<br \/>\n\tDROPBOX_ACCESS_SECRET = &lt;ACCESS_SECRET&gt; <\/span><\/p>\n<p>Log into the ExtraView web application with an account that has administrative privileges and set the following Behavior Setting to the value indicated:<\/p>\n<p><span class=\"fixedWidthFont\">USER_CUSTOM_CLASSNAME = com.extraview.usercustom.DropboxIntegration <\/span><\/p>\n<p>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:<\/p>\n<p><span class=\"fixedWidthFont\">ATTACHMENT_REPOSITORY_OPT = REPOSITORY <\/span><\/p>\n<h3>\n\tInstall Custom Code<\/h3>\n<p>Install the <span class=\"fixedWidthFont\">DropboxIntegration.class<\/span> custom code file by copying it to the following location in your ExtraView installation:<\/p>\n<p><span class=\"fixedWidthFont\">&lt;evj&gt;\/WEB-INF\/classes\/com\/extraview\/usercustom\/ <\/span><\/p>\n<p>where <span class=\"fixedWidthFont\">&lt;evj&gt;<\/span> is the directory where the ExtraView application is installed. (Note: You will need to create the directory tree if it doesn&#8217;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.<\/p>\n<p>Next, install the following files extracted from <span class=\"fixedWidthFont\">GetDropboxAccessToken.zip<\/span> (into NEW_DIRECTORY\/lib above), to the <span class=\"fixedWidthFont\">&lt;evj&gt;\/WEB-INF\/lib\/<\/span> directory of your ExtraView installation.<\/p>\n<p><span class=\"fixedWidthFont\">commons-logging-1.1.1.jar<br \/>\n\tdropbox-java-sdk-1.3.jar<br \/>\n\thttpclient-4.0.3.jar<br \/>\n\thttpcore-4.0.1.jar<br \/>\n\thttpmime-4.0.3.jar<br \/>\n\tjson_simple-1.1.jar <\/span><\/p>\n<p>Lastly re-start the ExtraView web application in order for the integration to take effect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":24433,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_lmt_disableupdate":"no","_lmt_disable":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"class_list":["post-24434","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Dropbox Integration Setup - Product Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dropbox Integration Setup - Product Documentation\" \/>\n<meta property=\"og:description\" content=\"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...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/\" \/>\n<meta property=\"og:site_name\" content=\"Product Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-18T23:31:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/\",\"url\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/\",\"name\":\"Dropbox Integration Setup - Product Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#website\"},\"datePublished\":\"2024-02-15T22:53:34+00:00\",\"dateModified\":\"2025-02-18T23:31:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.extraview.com\/v25\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ExtraView 25\",\"item\":\"https:\/\/docs.extraview.com\/v25\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Integration Guides\",\"item\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Dropbox Integration Guide\",\"item\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Dropbox Integration Setup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#website\",\"url\":\"https:\/\/docs.extraview.com\/v25\/\",\"name\":\"ExtraView Product Documentation\",\"description\":\"ExtraView Documentation\",\"publisher\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.extraview.com\/v25\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#organization\",\"name\":\"ExtraView Corporation\",\"url\":\"https:\/\/docs.extraview.com\/v25\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png\",\"contentUrl\":\"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png\",\"width\":512,\"height\":512,\"caption\":\"ExtraView Corporation\"},\"image\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dropbox Integration Setup - Product Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/","og_locale":"en_US","og_type":"article","og_title":"Dropbox Integration Setup - Product Documentation","og_description":"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...","og_url":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/","og_site_name":"Product Documentation","article_modified_time":"2025-02-18T23:31:51+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/","url":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/","name":"Dropbox Integration Setup - Product Documentation","isPartOf":{"@id":"https:\/\/docs.extraview.com\/v25\/#website"},"datePublished":"2024-02-15T22:53:34+00:00","dateModified":"2025-02-18T23:31:51+00:00","breadcrumb":{"@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/dropbox-integration-setup-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.extraview.com\/v25\/"},{"@type":"ListItem","position":2,"name":"ExtraView 25","item":"https:\/\/docs.extraview.com\/v25\/"},{"@type":"ListItem","position":3,"name":"Integration Guides","item":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/"},{"@type":"ListItem","position":4,"name":"Dropbox Integration Guide","item":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/dropbox-integration-guide-1\/"},{"@type":"ListItem","position":5,"name":"Dropbox Integration Setup"}]},{"@type":"WebSite","@id":"https:\/\/docs.extraview.com\/v25\/#website","url":"https:\/\/docs.extraview.com\/v25\/","name":"ExtraView Product Documentation","description":"ExtraView Documentation","publisher":{"@id":"https:\/\/docs.extraview.com\/v25\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.extraview.com\/v25\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/docs.extraview.com\/v25\/#organization","name":"ExtraView Corporation","url":"https:\/\/docs.extraview.com\/v25\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/","url":"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png","contentUrl":"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png","width":512,"height":512,"caption":"ExtraView Corporation"},"image":{"@id":"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/"}}]}},"taxonomy_info":[],"featured_image_src_large":false,"author_info":{"display_name":"carl.koppel","author_link":"https:\/\/docs.extraview.com\/v25\/author\/carl-koppel\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/comments?post=24434"}],"version-history":[{"count":0,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24434\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24433"}],"wp:attachment":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/media?parent=24434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}