# ContentField

The name of a column in the database that contains the content of a document and is to be used as the main document source. Use this parameter to extract a CLOB, for instance.

You cannot use the field specified by this parameter to populate a document field. If you need to extract the value of the field (for example a file path) to a document field (in addition to retrieving the file and using it as the document content), modify your SQL statement to return the column with a different name. For example, if `ContentField=myfield`:

    SELECT myfield, myfield AS "anotherfield" FROM tablename...

Then, in your template file, specify the alternate name:

    #DREFIELD MyFieldName="<!--anotherfield-->"

Type: | String
Default: |
Required: | No
Configuration Section: | Any section named by SubTables, or TaskName or FetchTasks
Example: | `ContentField=contentfieldname`
See Also: | ContentFieldType

_FT_HTML5_bannerTitle.htm