cancel
Showing results for 
Search instead for 
Did you mean: 

List of files in a particular space!

manmeet
Champ in-the-making
Champ in-the-making
Am looking to use the webservice client API and retrieve a list of files in a particular space.

eg: space: app:company_home/cmSmiley Tongueroject/cmSmiley Very Happyocuments

Now I want to get a list of files or content in the above space.

How do I do this? This seems a very basic requirement and I could not pin-point a way to achieve it using the webservice client API.

Any help in this regard shall be appreciated. I am having some deadlines to meet.

————————
Thanks, Manmeet
1 REPLY 1

cludt
Champ in-the-making
Champ in-the-making
Try with a query

Query query = new Query(QueryLanguageEnum.lucene, "+PARENT:\"" + space.getStore().getScheme().getValue() + "://" + space.getStore().getAddress() + "/" + space.getUuid() + "\" +TYPE:\"{http://www.alfresco.org/model/content/1.0}content\"");

where space is a Reference to a space. So you will get all children of that space that are of type content.