Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getAllCommentIds(pageId) | Package | | Alias | | Pkg Usage | |
|
Excerpt |
---|
|
Gets all the comment IDs that are already entered on a page. |
Gets all the comment IDs that are already entered on a page.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
page ID | Number | Yes | ID of the selected page. |
|
Number []
IDs of the comments on the page.
...
Code Block |
---|
|
number [] allComm = getAllCommentIds(11801);
interval year = "365d";
for(number c in allComm) {
CComment comm = getCommentById(c);
if(comm.created < (currentDate - year)) {
deleteComment(c)
}
} |
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "comment_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|