The information in this article applies to admins on Dropbox Standard, Business, Advanced, Business Plus, and Enterprise.
After setting up Dropbox for Salesforce with the standard configuration, you may want to customize your Dropbox for Salesforce integration as outlined in this article.
To use custom objects or objects outside of those included in the default configuration (Account, Contact, Case, Opportunity, Lead), follow these instructions:
Dropbox for [Object]:
<apex:page standardController="INSERT—API—NAME—HERE" docType="html-5.0" showHeader="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false"> <Dropbox_for_SF:Dropbox /> </apex:page>
<apex:page standardController="INSERT—API—NAME—HERE" docType="html-5.0" showHeader="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false"> <Dropbox_for_SF:Dropbox AllDropbox="true" /> </apex:page>
If you’re not using Salesforce Lightning, follow these instructions:
To update the Object layout with the above created Visualforce page, you need to follow the below instructions:
If you are not using Salesforce Lightning, follow these instructions instead:
Secondly, you’ll need to setup a new object trigger for either your custom or non-default standard object by following these steps:
Trigger <TRIGGER_NAME> on <OBJECT_API_NAME> (after update, after delete) { if(Trigger.isAfter && Trigger.isUpdate){ Dropbox_for_SF.HandleRecordChange.OnRecordChange(Trigger.old, Trigger.new); } if(Trigger.isAfter && Trigger.isDelete){ Dropbox_for_SF.HandleRecordChange.HandleMerge(Trigger.old); } }
If you’re not using Salesforce Lightning, follow these instructions to setup the custom object trigger:
In order to resolve the code coverage issue, follow the below steps:
@isTest public class CustomTest { static testMethod void update<OBJECT_API_NAME>() { <OBJECT_API_NAME> a = new <OBJECT_API_NAME> (Name='test'); insert a; Test.startTest(); a.Name = 'new test'; update a; Test.stopTest(); system.assertEquals('new test', a.name); } }
To use Dropbox for Salesforce on Salesforce1 mobile, you'll first need to add a mobile card to the page layout.
Next, you can make custom objects available for Salesforce1 Mobile. To make custom objects compatible with Salesforce1 mobile, you'll first need to enable this feature when setting up the Visualforce page. Follow these steps to make your custom objects viewable:
If you’re not using Salesforce Lightning, follow these instructions instead:
<apex:page standardController=“INSERT—API—NAME—HERE” docType =“html-5.0” showHeader=“false” sidebar=“false” applyHtmlTag=“false” applyBodyTag="false"> <Dropbox_for_SF:DropboxMobile / > </apex:page>
Every object in Salesforce has an API name. If you’re working with custom objects, you can find the API name by following these instructions.
Dropbox for Salesforce can build a folder structure for you using "template folders". These folders link your Salesforce records to folders in your Dropbox.
The folders Dropbox for Salesforce creates are empty by default. If you'd like them to contain subfolder structures of their own, the template folder feature can do that for you.
Notes:
By default, renaming a Salesforce record will not change the folder in your Dropbox. However, you can enable automatic renaming, which ensures that renaming a folder in Dropbox for Salesforce will also rename the folder in Dropbox.
Salesforce admins can set up Dropbox for Salesforce to follow their existing Salesforce security model. By default, Dropbox for Salesforce follows the Salesforce security model.
If you would like to modify the integration sharing settings, you can follow the instructions below:
Salesforce admins can manage how a Salesforce user connects Dropbox to Salesforce.
Dropbox for Salesforce can create a folder structure that mirrors your Salesforce setup in Dropbox. However, admins can change the default structure or the naming conventions of the folders created on an object-by-object basis.
The standard naming convention for the “Contact” object is First Name, Last Name. However, you can change this to Last Name, First Name instead. If you make this change, the naming settings will then follow your naming preference upon creation.
You can make the Dropbox interface accessible on Chatter. To do so, simply add Dropbox as a Quick Action in Global Publisher.
Yes, thanks!
Not really
Let us know how why it didn't help:
Thanks for letting us know!
Thanks for your feedback!
Admins
Easily add your Confluence account to Dropbox Dash to search and access your Confluence content directly within Dash. Learn more and add Confluence to Dash.
Learn to integrate Slack with Dropbox Dash to quickly and easily search through message content, replies and attached documents.
Admins of Dropbox teams can configure their team members’ Dropbox desktop app preferences using Group Policy Object (GPO). Learn how.
Learn how to set up the Dropbox for Salesforce integration as an admin.