...
Table plus |
---|
applyColStyleToCell | true |
---|
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 | countPages(cqlQuery) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Returns the number of pages that matched the CQL search query. |
Returns the number of
...
pages that matched the CQL search query.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
|
...
...
...
Yes | Confluence Query Language (CQL) search string |
|
...
Info |
---|
Read more about CQL Functions in the Confluence CQL documentation |
Return
...
Type
numberNumber
Example
Code Block |
---|
|
string cql = "(type=page and Space=DEV) OR (creator=bobsmith and type=blogpost)";
number count = countPages(CQL);
print("Return " + count); |
...
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = " |
---|
|
...
...
routines" and space = currentSpace ( ) | labels |
---|
|
...
...