On Feb 17, 2010, at 10:01 PM, stefan bachert wrote:
Hi,
for a glossar I would like to create documents for each letter automatically.
I tried to use
#set ($newDoc = $xwiki.createDocument())
However, the var $newDoc will not assigned
What is wrong with that?
#set ($mydoc $xwiki.getDocument("Space.Page"))
$mydoc.setContent("content")
$mydoc.save()
Thanks
-Vincent