Hello,
is there a way to empty trashcan only for particular user via webscript? Or is there a way how to delete nodes without them putting to trashcan for specific user?
Thank you.
Br, Vojtech
With Content Services 5.2, you can list the deleted nodes for a given user and then delete them one-by-one.
Alfresco Content Services REST API Explorer
In the future, we will also add the option to empty the trashcan as a single operation &/or via a batch operation.
[REPO-126] Purge All Deleted Nodes - Alfresco JIRA
You also have the option to use the deprecated Web Scripts (aka "V0 REST API"):
DELETE permanently (purge) a node or nodes from the archive | Alfresco Documentation
In this case (I haven't had a chance to test & verify) it should purge the archived nodes deleted by the current user, although if the current user is an Administrator then all the deleted nodes are purged.
Hope this helps.
Regards,
Jan
Hello,
thank you, that helped me a lot.
Br, Vojtech
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.