Amazon S3 Connector 26.2
Amazon S3 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 2026 Open Text
Version 26.2 | Last updated April 2026

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 Amazon S3 Connector 26.2

Topic Title: Add a Field to a Document