cancel
Showing results for 
Search instead for 
Did you mean: 

According to the category name query image node .

nyszhangyong
Champ in-the-making
Champ in-the-making
hello

Our project now has a new demand,

"Landscape picture " category as a query, the query out all the pictures belong to it .

But I do not know how to modify the query below , please help modify , thank you .

     var alfQuery =
     ' PATH:"/app:company_home/app:guest_home//*"' +
     ' AND NOT TYPE:"{http://www.alfresco.org/model/content/1.0}thumbnail"' +
     ' AND NOT TYPE:"{http://www.alfresco.org/model/content/1.0}folder"';
1 REPLY 1

jonash
Champ in-the-making
Champ in-the-making
Hi,

To search on categories add a PATH term to the query with "/member" appended, for example:


PATH:"/cm:generalclassifiable//cm:Software_x0020_Document_x0020_Classification/member"

You can find the full search query documentation on the wiki: http://wiki.alfresco.com/wiki/Search