/
selectPages
selectPages
Description
Returns an array with the IDs of the pages that match the search query.
Parameters
Return Type
Number []
Returns a list of page IDs that match the specified CQL.
Example
string cql = "(type=page and Space=DEV) OR (creator=bobsmith and type=blogpost)";
number [] pages = selectPages(cql);
for(number p in pages) {
%p%.labels += "newLabel";
}
See also
Peacock
, multiple selections available,
Related content
getPages
getPages
More like this
getPage
Read with this
countPages
countPages
More like this
createPage
createPage
More like this
Page routines
Page routines
Read with this
getChildPages
getChildPages
More like this