countPages

countPages

Syntax

countPages(cqlQuery)

Package

Alias

Pkg Usage

Description

Returns the number of pages that matched the CQL search query.

Parameters

Parameter name

Type

Required

Description

cqlQuery

String

Yes

Confluence Query Language (CQL) search string.

Return Type

Number

Example

string cql = "(type=page and Space=DEV) OR (creator=bobsmith and type=blogpost)"; number count = countPages(CQL); print("Return " + count);

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.