Using the Destination Component
After Establishing a Connection to the data source, add the CData Greenhouse destination component to the workflow to load data into Greenhouse.
Writing to Greenhouse in a Data Flow
Follow the steps below to connect to Greenhouse and update data.
- In the SSIS Toolbox, drag the CData Greenhouse destination component into the Data Flow Task.
- Connect the output of a source component to the CData Greenhouse destination component.
- Double-click the CData Greenhouse destination component. The CData Greenhouse Destination Editor dialog is displayed.
- In the Connection Managers menu, select an available CData Greenhouse connection manager, or create a new one if one is not already available.
- Set Use a Table to the table you want to update.
- Set Action to a data manipulation action. See below for more information on each action.
- Select the Columns tab to discover the available columns for the table you identified in Step 5 above.
- On the Mappings tab, configure the mappings from source to destination. See below for more information.
Column Configuration
You can edit the name, data types, length, precision, and scale of your destination columns in the Destination component's Columns tab.
Select a property in the list to edit it. You can also add, reorder, and remove columns using the buttons near the bottom of the interface.
If you want to revert any changes you have made to the columns to their defaults, click Refresh. Note that this will also delete any new columns you have added.
Column Mapping
In the Destination component's Mappings tab, you can map columns from the output of the inbound source component to columns in the table specified in the destination component.
Note: Opening the Columns tab retrieves metadata for the selected destination table. You must select this tab before columns will appear in the Mappings tab.
The Mappings tab is broken up into two tabs: TableView and DiagramView.
TableView
The TableView tab represents column mappings as a table with the following columns. It displays extra information not visible on the DiagramView tab.
- Available Input Columns: Select a column from the input columns to map to a destination column.
- If you opened the Columns tab before opening the Mappings tab for the first time, the input columns are autopopulated.
- Available Destination Columns: Displays the column from the destination columns that the input column maps to.
- Data Type: Displays the data type of the destination column.
- Column Size: Displays the column size of the destination column.
- Mapped: Toggles whether the current mapping is active.
You can also filter the displayed columns using the Filter box and the Read-only columns, Mapped columns, and Unmapped columns checkboxes at the top of the tab.
DiagramView
The DiagramView tab provides a visual representation of the column mappings.
Drag an input column's name from the Available Input Columns box to a column in the Available Destination Columns box to create a mapping. Each active mapping is represented by a line between the input column name and destination column name.
Command Execution
When you execute the data flow, the component executes one of the following operations to update the destination table.