Connector Framework Server 25.4
Connector Framework Server Help

# CsvWriter Task Parameters

The parameters in this section customize the `CsvWriter` task.

This task writes document metadata and content to a comma-separated values (CSV) file, so that you can export the data to other systems.

The task always writes the document reference (`DREREFERENCE`) and content (`DRECONTENT`) fields, and you can choose the other fields to include by setting the CsvWriterFieldNamesN parameter. The task writes the field names, followed by one line of values for each document that is ingested.

You can configure the `CsvWriter` task as a Pre, Post, Update or Delete task.

To run the task with default settings, use the `Pre`, `Post`, `Update`, or `Delete` parameter to specify the file name for the output file:

    [ImportTasks]
    Post0=CsvWriter:MyTask.csv

Alternatively, specify the name of a section in the configuration file that contains the settings for the task:

    [ImportTasks]
    Post0=CsvWriter:CsvWriting

    [CsvWriting]
    CsvWriterFilename=MyTask.csv
    CsvWriterMaxSizeKBs=1000
    CsvWriterArchiveDirectory=./CSVarchive
    CsvWriterFieldNames0=A_FIELD
    CsvWriterFieldNames1=A_FIELD/subfield
    CsvWriterFieldNames2=A_FIELD/@attribute

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Connector Framework Server 25.4

Topic Title: CsvWriter Task Parameters