Alfresco 3.3 - Selecting document based on category -


we have limitation of using 3.3 sometime. simple scanerio:

  1. created folder structure in site.
  2. created couple of documents in folder under site
  3. created categories
  4. applied couple of categories on documents

now need fetch documents based on categories....

tried: 1. cmis way. - not possible. 2. other way?

please suggest.

you can lucene search, this:

path:"/cm:categoryroot/cm:generalclassifiable/cm:languages/cm:german//member" 

you can run search node browser try out. can run server-side javascript, this:

var results = search.lucenesearch('path:"/cm:categoryroot/cm:generalclassifiable/cm:languages/cm:german//member"'); print (results.length); 

Comments

Popular posts from this blog

java - How to print docx and pdf? -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

java - IntelliJ to move a class along with conflicted classes to a new package? -