Dropbox Connector > Synchronization Task with Dropbox Connector > Dropbox Targets in Synchronization Tasks
  

Dropbox Targets in Synchronization Tasks

When you run a synchronization task, specify the operation and the source that you want the Secure Agent to write to the target. The Secure Agent inserts, updates, upserts, or deletes source rows that you specify into the target based on the configured operation for the target object.
The task operations depend on the target object that you select. You can configure the target properties when you schedule the synchronization task.
The advanced target properties appear on the Schedule page of the Synchronization Task wizard.
The following table describes the Dropbox advanced target properties:
Advanced Target Property
Description
Success File Directory
Specifies the path and directory name where you want to save the files.
Error File Directory
Specifies the path and directory name where you want to save the error files.

Dropbox Target Synchronization Example 1

You can use Dropbox Connector to upload files from Salesforce to Dropbox:
    1. On the Source tab, select source Connection as Salesforce. Select the required source object.
    2. On the Target tab, select Target Connection as Dropbox. Select the required target object.
    3. On the Field Mapping tab, click fx corresponding to the FileContentfield.
    The Field Expression dialog box appears.
    4. Enter DEC_Binary(FileContent) in the Expressionbox.
    5. Click OK.
    6. Click Save and then Finish.
    7. From the Explore page, select the task, and click Actions > Run.
    After you run the task, you can monitor the status of the logs in the Monitor page.

Dropbox Target Synchronization Example 2

You can use Dropbox Connector to upload files from local system to Dropbox:
    1. On the Source tab, select source Connection as Flat File.
    Configuring the source details in the tab .Source
    2. Create a .CSV file with the following information and select the .CSV file in the Source Object field:
    The .CSV file must contain the following information
    The Upload.csv file contains SourcePath, Destination Path and chunksize as some of its attributes. The figure displays an sample upload.csv file:
    3. On the Target tab, select Target Connection as Dropbox. Select the required target object.
    Configure the target details in the tab.Target
    4. On the Field Mapping tab, map the fields.
    In the field map the source and target fields.Target
    5. Click Save and then Finish.
    6. From the Explore page, select the task, and click Actions > Run.
    After you run the task, you can monitor the status of the logs in the Monitor page.