cancel
Showing results for 
Search instead for 
Did you mean: 

Presentation template - recurse node children

mchernecki
Champ in-the-making
Champ in-the-making
I need to create a presentation template that will display all documents under a given space that have a boolean aspect property set to false (approved = false). This given space will have several nested spaces with documents in each. How can I recurse all spaces under my given space and retrieve details of every document contained within?
2 REPLIES 2

alexander
Champ in-the-making
Champ in-the-making
It is possible to use XPath query to find all documents under specific path, incl. children.

You may find some examples of using XPath in sample scripts, and more on search syntax here: http://wiki.alfresco.com/wiki/Search

mchernecki
Champ in-the-making
Champ in-the-making
Thanks for the link. I found what I needed, using companyhome.childrenByLuceneSearch[""] return the documents I was looking for.