cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced Search Categories

hurganator
Champ in-the-making
Champ in-the-making
Good Morning, Everbody.

Is it possible in Alfresco SHARE (3.4) to create an Advanced Search, where the user can pick several categories and combine them with an logical AND?

For example: Find all documents which fullfill the follwing categories:  Word-Document AND Memo AND Accounting ?

Please give me an answer in simple words, for my English is not the best and my Alfresco knowledge either!

Thank you very much for your help.
4 REPLIES 4

stevegreenbaum
Champ in-the-making
Champ in-the-making
Advanced search treats the entered criteria as an AND. 

I believe you can only search for one Type of record at a time (e.g., Memo), but you can customize the search to include as many of the properties that exist within the Type or within an Aspect.

So in your example, if Accounting and Memo are both document types, you can't search for both of them simultaneously using the OOTB Advanced Search.

hurganator
Champ in-the-making
Champ in-the-making
Thank you for your answer, but I don´t understand it.
Is Category the same like property or document type?  (In German it´s called category and you define them in Alfresco Explorer, maybe we mean not the same)

You say "you can customize the search to include as many of the properties that exist within the Type or within an Aspect"

How can I do this?

Sorry, my English is not so good, I hope you understand what I mean.

Best regards from Germany!

stevegreenbaum
Champ in-the-making
Champ in-the-making
Categories and properties are different. Properties are defined when you do content modeling.  In Explorer you can assign categories to a document and then use the categories in the advanced search.  I have not seen that capability in the Share Advanced Search.

pitzalis
Champ in-the-making
Champ in-the-making
I had the same need and I resolved changing the file \tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\slingshot\search\search.lib.js as suggested in http://issues.alfresco.com/jira/browse/ALF-7157.
The patch allows advanced search on category in Share to include sub-categories in query by checking a checkbox as in Alfresco Explorer, and search mutiple category and combine them with a logical OR (but you can change the operator to AND).
Bye,
GP