Using the WebDAV Destination Component
The WebDAV Destination Component is an SSIS data flow pipeline component that can be used to write data to a WebDAV instance. There are three pages of configuration:
- General
- Columns
- Error Handling
General Page
The General page allows you to specify general settings for the component.
- Connection Manager
- The Connection Manager drop-down will show a list of available connection managers.
- Storage Service Object
- The object can be chosen between File or Directory.
- Action
-
The Action specifies how you want to write to the instance specified in the selected Connection Manager. There are 7 actions available:
- Create - Create the file or directory.
- Copy - Copy to the destination path.
- Move - Move the object path.
- Lock - Lock by specifying a LockScope and LockType an Owner.
- Refresh Lock - Refresh the Lock by specifying a LockToken.
- Unlock - Unlock using the LockToken.
- Delete - Delete from the Destination path.
- Map Unmapped Fields Button
- By clicking this button, the component will try to map any unmapped attributes by matching their names with the input columns from upstream components.
- Clear All Mappings Button
- By clicking this button, the component will reset (clear) all your mappings in the destination component.
- Expression fx Icon
- Click the blue fx icon to launch SSIS Expression Editor to enable dynamic updates of the property at run time.
- Generate Documentation Icon
- Click the Generate Documentation icon to generate a Word document that describes the component's metadata including relevant mapping, and so on.
Columns Page
The Columns page of the WebDAV Destination Component allows you to map the columns from upstream components to the Destination Fields.
- Input Column: You can select an input column from an upstream component for the corresponding WebDAV Field.
- Destination Field: Specifies how to write the current item to the WebDAV instance.
- 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 the WebDAV instance will be redirected to the 'Error Output' output of the Destination Component. As indicated in the screenshot below, the blue output connection represents rows that were successfully written, and the red 'Error Output' connection represents erroneous rows. The 'ErrorMessage' output column found in the 'Error Output' may contain the error message that was reported by the server or the component itself.
Enable Columns for Default Output
- WebDAVLockToken
- This option will be available to be enabled for Lock related actions.