How to get all children for a node with negative condition like where=(nodeType!='email')
For example if we have 3 different nodeTypes(folder, document, email)
how to get the folders and document in a single rest call
http://alfresco.dev.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children?relativePath='path'&skipCount=0&maxItems=40&include=isLocked&where=(nodeType='folder')
do we have any option like either nodeType in ('folder', 'document') or nodeType!='email'
Can any one help me on this.
The children operation is supposed for "simple" lookups without complex filtering conditions. For anything more complex, you should use the actual search / query operation. With Alfresco FTS / CMIS Query Language and Transactional Metadata Query (TMQ) capabilities you can create operations with dynamic restrictions that are transactionally consistent and not dependent on SOLR.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.