Using the Dropbox Destination Component
The Dropbox Destination Component is an SSIS data flow pipeline component that can be used to write data to Dropbox. You can create, delete, move, or upsert objects that allow a particular action with this component. There are three pages of configuration:
- Error Handling
The General page is used to specify general settings for the Dropbox Destination Component. The Columns page allows you to map the columns from upstream components to Dropbox fields in the destination object. The Error Handling page allows you to specify how errors should be handled when they occur.
The General page allows you to specify general settings for the component.
- Dropbox Connection Manager
The Dropbox Destination Component requires a Dropbox connection. The Dropbox Connection Manager option will show all Dropbox connection managers that have been created in the current SSIS package or project.
The Action option allows you to specify how data should be written to Dropbox. There are currently four (4) supported:
- Refresh Component Button
Clicking the Refresh Component button causes the component to retrieve the latest metadata and update each attribute to its most recent metadata.
- Map Unmapped Fields Button
By clicking this button, the component will try to map any unmapped Dropbox attributes by matching their names with the input columns from upstream components. This is useful when your source component has recently added more columns, in which case you can use this button to automatically establish the association between input columns and unmapped destination attributes.
- Clear All Mappings Button
By clicking this button, the component will reset all your mappings in the destination component.
The Columns page of the Dropbox Destination Component allows you to map the columns from upstream components to the Dropbox destination fields.
In the Columns page, you would see a grid that contains four columns as shown below.
- Input Column - You can select an input column from an upstream component for the corresponding Dropbox field.
- Dropbox Field - The Dropbox field that you are writing data.
- Data Type - This column indicates the type of value for the current field.
- Unmap - This column can be used to unmap the field from the upstream input column, or otherwise it can be used to map the field to an upstream input column by matching its name if the field is not currently mapped.
Error Handling page
The Error Handling page allows you to specify how errors should be handled when they happen.
There are three options available.
- Fail on error
- Redirect rows to error output
- Ignore error
When the Redirect rows to error output option is selected, rows that failed to write to Dropbox will be redirected to the 'Error Output' output of the Destination Component. As indicated in the screenshot below, the green output connection represent rows that were successfully written, and the red 'Error Output' connection represents rows that were erroneous. The 'ErrorMessage' output column found in the 'Error Output' may contain the error message that was reported by Dropbox or the component itself.
NOTE: Use extra caution when selecting Ignore error option, since the component will remain silent for any errors that have occurred.
Enable Columns for Default Output.
- DropboxItemSize - Contains the size of the Dropbox record
- DropboxItemIsDeleted - Contains boolean
- DropboxItemPath - Contains path of Dropbox record
- DropboxItemIsDirectory - Contains the status of the Dropbox record