Connector Framework Server 12.11

# 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.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Connector Framework Server 12.11

Topic Title: Import Content Into a Document