Slack Connector 25.3
Slack 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.3 | Last updated July 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 Slack Connector 25.3

Topic Title: Add a Field to a Document