Open topic with navigation

# Import Content Into a Document

The `ImportFile` task imports a file and adds its content to the document being processed. CFS does not extract sub files from the file.

The `ImportFile` task can be configured as a Pre or Post task. When you create the task, specify the name of a document field that contains the path or URL of the file to import, for example:

    Pre0=ImportFile:fieldname
    Post0=ImportFile:fieldname

where `fieldname` is the name of the document field.

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

    [ImportTasks]
    Post0=ImportFile:MySettings

    [MySettings]
    Fieldname=field_containing_file_path_or_url
    ProxyHost=10.0.0.1
    ProxyPort=8080
    SSLMethod=TLSV1

If the field contains a URL, CFS downloads the file and adds its content to the document.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm