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!
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.