Hi,

#set($countQuery ="select count(doc) from XWikiDocument as doc where  
doc.creator='$context.user'")

will give me the number of documents created by a user.

The question; can I also count the number of documents ever created by  
the user (including deleted documents)
I would like to use the resulting number to create a unique document  
name
somenying like
#set($part1 = $username)
#set($part2 = "_doc")
#set($part3 = $docCount)
#set($aboutToCreate = $part1+$part2+$part3)

where doccount would be doccount of every created document by user  
(including deleted) + 1

Gerritjan
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to