Re: [xwiki-users] How to delete document without put it in trash bin

2013-03-19 Thread Arnaud bourree
Thanks Louis-Marie, I've programming right (that will part of an automatic process) Arnaud. 2013/3/19 Guillaume "Louis-Marie" Delhumeau : > Hi Arnaud. > > You can do it only if you have the Programming Rights. > > With velocity: > #set($document = $xwiki.getDocument("Document Name")) > ## Get the

Re: [xwiki-users] How to delete document without put it in trash bin

2013-03-19 Thread Guillaume "Louis-Marie" Delhumeau
Hi Arnaud. You can do it only if you have the Programming Rights. With velocity: #set($document = $xwiki.getDocument("Document Name")) ## Get the internal document #set($xwikidocument = $document.getDocument()) ## Remove it #set($discard = $xwiki.getXWiki().deleteDocument($xwikidocument, false, $

[xwiki-users] How to delete document without put it in trash bin

2013-03-18 Thread Arnaud bourree
Hello If I used document.delete(), document is moved to trash bin. Documents I want to delete are temporary documents I want definitively deleted. How can I delete document without put it in trash bin? Should I have to open JIRA issue to request trash bin parameter? Regards, Arnaud.