HubSpot Connector 25.2
HubSpot Connector Help

# appendContent

The `appendContent` method appends `content` to the existing content (the `DRECONTENT` field) of a document or document section.

## Syntax

    appendContent ( content [, number])

## Arguments

Argument | Description
--- | ---
`content` | (string) The content to append.
`number` | (number) The document section to modify. If you do not specify this argument, `content` is appended to the last section. If you specify a number greater than the number of existing sections, additional empty sections are created.

## Examples

    -- Append content to the last section
    document:appendContent("content")

    -- Append content to section 7, empty sections are created before this section if necessary
    document:appendContent("content", 7)

Copyright 2025 Open Text
Version 25.2 | Last updated April 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 HubSpot Connector 25.2

Topic Title: appendContent