Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,sheading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

addComment(pageId, comment)

Package

Alias

addComment(commentId, comment)

Pkg Usage

Description

Excerpt
hiddentrue
Posts a comment on the specified page or adds a reply to the specified comment.

Posts a comment on the specified page or adds a reply to the specified comment.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

pageId

Number

Yes

The ID of the selected page.

comment

String

Yes

Comment that will be posted on the selected page.

Or

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

commentId

Number

Yes

The ID of the comment to reply on.

comment

String

Yes

Comment that will be posted on the selected page.

Return Type

Boolean (true/false)

...

If 11801 is an id of a page, the routine adds a comment to the page with that ID. If 11801 is an ID of a comment, the routine adds a reply to that comment.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "comment_routines" and space = currentSpace ( )
labelsarray_routines