cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the list of documenst in trash of a particular workspace or folder in nuxeo java client?

Jyothsna_SM1
Champ in-the-making
Champ in-the-making

documents = nuxeoClient.repository().query("SELECT * FROM Document WHERE ecm:path= ? AND ecm:isTrashed = 1", "1", "50",null,null,null, path);

This is the code I'm using to get the list of trashed documents of a particular path but this is returning me null

1 REPLY 1

Jyothsna_SM1
Champ in-the-making
Champ in-the-making

SELECT * FROM Document WHERE ecm:parentId = ? AND ecm:isVersion = 0 AND ecm:isTrashed = 1

this NXQL query worked.. problem solved

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.