Skip to content

Instantly share code, notes, and snippets.

@torstenwerner
Created September 15, 2016 09:45
Show Gist options
  • Save torstenwerner/dfafb415fcbfc2bac22e81328fcf26e3 to your computer and use it in GitHub Desktop.
Save torstenwerner/dfafb415fcbfc2bac22e81328fcf26e3 to your computer and use it in GitHub Desktop.
Alfresco repo javascript 01
var query = '+TYPE:"cm:content" +PATH:"/app:company_home/st:sites/cm:xx/cm:documentLibrary/cm:AlphaCxx-Import/cm:Ohne_x0020_Axxx//*"';
var page = { maxItems: 25000 };
var nodes = search.query({query: query, page: page});
logger.log(nodes.length);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment