AnsweredAssumed Answered

Retrieve Document Library Documents by custom type

Question asked by flopez on Mar 16, 2011
Latest reply on Mar 16, 2011 by mikeh

I want to create a yui Datasource that contains a list of items of type="document" and nodetype="my:customtype" I can't find the right webscript to do this, can anyone one point me to the right way to do it.

what I'm trying so far (in a pseudocode way of showing it) is:

new DataSource ( /alfresco/service/slingshot/doclib/doclist/documents/site/MYSITE/documentLibrary )

but this retrieves every single file in the repository, how can I filter this to have only the "my:customtype" documents?

thanks in advance