cancel
Showing results for 
Search instead for 
Did you mean: 

How to Search Documents in Alfresco

vibhaycs55
Champ in-the-making
Champ in-the-making
Hi all,
       I am evaluating Alfresco Web Service API as we need to integrate document management system in our application for document upload ,document download and document search.
      Could you please provide me the alfresco web service code to get document names list uploaded by particular user?
      and can I filter this list by created date, document type,and document name?

       Please do get in touch if you have any query?

Thanks in Advance,
Vibhay
1 REPLY 1

mahkath
Champ in-the-making
Champ in-the-making
Hi Vibhay,

You can do by searching Alfresco using Lucene. Use query which seraches based on created user attribute(attibute of  cm: model).
eg: "/app:company_home/*[@cm:createduser=\"" + spaceName + "\"]"

Above query searches under comapny_home for attribute createduser and lists all file names.

Regards,
Mahesh