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:
1On the Source tab, select source Connection as Salesforce. Select the required source object.
2On the Target tab, select Target Connection as Dropbox. Select the required target object.
3On the Field Mapping tab, click fx corresponding to the FileContentfield.
The Field Expression dialog box appears.
4Enter DEC_Binary(FileContent) in the Expressionbox.
5Click OK.
6Click Save and then Finish.
7From 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:
1On the Source tab, select source Connection as Flat File.
2Create 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
- SourcePath: Location of the file
- DestinationPath: Location where you want to upload the file in Dropbox.
Note: SourcePath and DestinationPath are mandatory fields.
- Chunksize: Sends the data in chunks or batches. For example, if you want to upload a 10 MB file, you can upload the file in fragments of 1 MB at a time. If you specify 1 MB as the chunk size, the Secure Agent transfers 1 MB of data at a time until the transfer is complete.
3On the Target tab, select Target Connection as Dropbox. Select the required target object.
4On the Field Mapping tab, map the fields.
5Click Save and then Finish.
6From 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.