cancel
Showing results for 
Search instead for 
Did you mean: 

Filtering by Category

strophi
Champ in-the-making
Champ in-the-making
Dear Form,

I'm new to alfresco, so please excuse the newbie-Level of my question…

I created a space "Intranet". In this space there are Documents, every document has a "QM-Department"-Category (Labor, Hygiene) and a "QM-DocType"-Category (Verfahrensanweisung, Merkblatt).

Now I want to filter, e.g. all documents from Hygiene or all documents that are a Merkblatt. Or in the second step: all documents from Hygiene, that are a Verfahrensanweisung.

Query: PATH:"/app:company_home/cm:Intranet/cm:*" // returns all documents in space Intranet, okay

I tried the combined query +PATH:"/app:company_home/cm:Intranet/cm:*" +PATH:"/cm:generalclassifiable/cm:QM-Abteilungen/Hygiene to get all Hygiene-Documents, but no results.

What is wrong with this query?

thanks in advance

strophi
2 REPLIES 2

dgenard
Champ on-the-rise
Champ on-the-rise
Try adding the 'member' word to get the documents associated to a given category :
+PATH:"/app:company_home/cm:Intranet/cm:*" +PATH:"/cm:generalclassifiable/cm:QM-Abteilungen/cm:Hygiene/member" 
See http://wiki.alfresco.com/wiki/Search#Category_Queries for full details.

Denis

strophi
Champ in-the-making
Champ in-the-making
Hi,

thank you very much. It works. I'm writing a php script, a document browser with filter options. And first version works like desired.

strophi