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
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,
$
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.