Versions Compared

Key

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

Syntax

getLastComment(pageId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Gets all the comment properties for the last page comment.

Gets all the comment properties for the last page comment.

...

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

Parameter name

Type

Required

Description

page ID

Number

Yes

ID of the selected page.

Return Type

CComment

The comment representation with the following keys:

...

Code Block
languagejs
CComment [] lastComm = getLastComment(11801);
print("Got comment:" + lastComm.text);

See also

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