Content Manager Connector 26.3
Content Manager 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.3 | Last updated July 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 Content Manager Connector 26.3

Topic Title: Add a Field to a Document