12-03-2018 07:34 AM
Hi everybody,
is it possible to retrieve/delete the global trashcan, e.g.
http://localhost:8008/share/page/user/admin/user-trashcan
by using CMIS?
I want to delete the admins trashcan and tried the following, but with no results:
OperationContext oc = OperationContextUtils.createMinimumOperationContext();
final String queryString = "SELECT * FROM cmis:document where CONTAINS('PATH:\"/share/page/user/admin /user-trashcan\"')";
//queryResult is null
ItemIterable<QueryResult> queryResult = session.query(queryString, false, oc);
Due to privacy protection our trashcan must be deleted constantly. What would be the way to go here?
Thanks in advance!
12-03-2018 10:03 AM
You can configure schedule job for cleaning trashcan.Change cron as per your requirement and put that cron in alfresco-global.properties file.
Configuring the Trashcan Cleaner | Alfresco Documentation
Thanks
Explore our Alfresco products with the links below. Use labels to filter content by product module.