Octane Connector 25.4
Octane Connector Help

# Add a Field to a Document

The following script demonstrates how to add a field named “MyField” to a document, with a value of “MyValue”.

Copy

    1
    2
    3
    4
    function handler(config, document, params)
        document:addField("MyField", "MyValue");
        return true;
    end

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 Octane Connector 25.4

Topic Title: Add a Field to a Document