Page 1 of 1

Purge single document or folder

Posted: Tue Mar 24, 2020 5:13 pm
by dharm826
Hi
Is there an api(.net/java) available for purging single document and folder? And for restoring as well.

Re: Purge single document or folder

Posted: Fri Mar 27, 2020 8:41 am
by jllort
Remember when you "purge" a node is totally removed from the system and can not be longer recovered. Is not the same operation "delete" that moves the document into the trash than "purge" where the node is completely removed.

Take a look at ( same actions for delete in the same documentation sections )
https://docs.openkm.com/kcenter/view/sd ... geDocument
Seems currently we do not have "purgeFolder" in .NET but may be executed from scripting:
https://docs.openkm.com/kcenter/view/sd ... cuteScript
https://docs.openkm.com/kcenter/view/ok ... html#purge

If you want we add the method in .NET please add an issue at https://github.com/openkm/document-mana ... tem/issues

Re: Purge single document or folder

Posted: Fri Mar 27, 2020 3:34 pm
by dharm826
Thank you for the support. This has been very helpful. I have created an issue for purge folder. Can you share the information and duration regarding the whole process of such issue.

Re: Purge single document or folder

Posted: Sun Mar 29, 2020 10:22 am
by jllort
It depends on the load or work we have during the process, maybe 1-2 weeks.