Search Properties:
I have documents stored in Alfreco (document library) and the documents have various aspects (and properties). For example, we have an Aspect1 and within that we have a property1. I want to write Java API (ssuing Alfresco API, I assume) to return a list of all the documents that match a value of that property. For example, I want to return a list of all the documents (or document IDs) from Alfresco's doc7ument library for which the value of property1 is "a". I do not want to do any work in Share, but want to write Java-back-end code to return the result. Please advise how to write this Java back-end code.
Solved! Go to Solution.
You'll have to use the SearchService and write some FTS/CMIS queries that fulfill your conditions (please ignore any mention of Lucene/XPath query language). The Alfresco SDK can get you started in how to setup your project, and differentiate between backend and Share code.
You'll have to use the SearchService and write some FTS/CMIS queries that fulfill your conditions (please ignore any mention of Lucene/XPath query language). The Alfresco SDK can get you started in how to setup your project, and differentiate between backend and Share code.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.