cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to get single property of all files in a space

seshu
Champ in-the-making
Champ in-the-making
Hi,
I would like to know the best way to retrieve property (e.g name) of all files in a space and display those in a web page. NodeService has an option to get a property/properties from a file not from all. Any help would be appreciated

Thanks,
Seshu
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
A lucene query may help, have a look at: http://wiki.alfresco.com/wiki/Search

seshu
Champ in-the-making
Champ in-the-making
Thanks a lot Gevin.
What i understand from the search service is it will return documents not metadata properties based on property search criteria. Is this not the default behaviour? I need to get all values of a property of all files in a space. I will read the search functionality again.

Thanks,
Seshu

ribz33
Champ on-the-rise
Champ on-the-rise
I think you have 2 ways :
- Use Web Services and do your request against repository
- Use Freemarker template in web client or outside web client
    http://wiki.alfresco.com/wiki/Template_Guide