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, Use left or right arrow keys to navigate selected items
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.