Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm using Document.DeleteFromType(someDocumentType); to delete nodes, but they are also moved to recycle bin. Is it possible to delete them 'completely'?
Hi bfi, i am not sure, but you can maybe find the method used if the bin is cleared and call that one from your code.
thanks for the reply, I was also thinking of using a method to clear the recycle bin, unfortunatelly I cannot find it.
use the trashcan webservice from the umbraco.presentation.webservices namespace...
[WebMethod] public void EmptyTrashcan() {}
Hope this helps.
Regards,
/Dirk
The method umbraco.presentation.webservices.trashcan.EmptyTrashcan(); doesn't seem to ba available. Isn't this how I'm supposed to call it?
Thanks!
Or is there a way to disable recycle bin completely?
Maybe this would be interesting?
http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=16914
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
delete nodes without moving them to recycle bin
Hi,
I'm using Document.DeleteFromType(someDocumentType); to delete nodes, but they are also moved to recycle bin. Is it possible to delete them 'completely'?
Hi bfi, i am not sure, but you can maybe find the method used if the bin is cleared and call that one from your code.
thanks for the reply, I was also thinking of using a method to clear the recycle bin, unfortunatelly I cannot find it.
use the trashcan webservice from the umbraco.presentation.webservices namespace...
Hope this helps.
Regards,
/Dirk
The method umbraco.presentation.webservices.trashcan.EmptyTrashcan(); doesn't seem to ba available. Isn't this how I'm supposed to call it?
Thanks!
Or is there a way to disable recycle bin completely?
Maybe this would be interesting?
http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=16914
is working on a reply...