21 Jan
2009
21 Jan
'09
3:35 p.m.
I'm guessing you could use something like: http://code.xwiki.org/xwiki/bin/view/Snippets/DeleteSpaceSnippet to build a listing of the files versions and then create links or checkboxes or something like that to delete the ones you are interested in. You can get the full list of versions using $doc.getRevisions() which returns a org.suigeneris.jrcs.rcs.Version[]. You could then iterate through that list and delete all versions but the last. HTH, .:. Kevin -- View this message in context: http://n2.nabble.com/Purge-Document-Versions-via-Script-tp2192579p2192728.ht... Sent from the XWiki- Users mailing list archive at Nabble.com.