Anleitungen
Version 7.1 von Mike Schneider am 2025/09/16 13:11
{{velocity}}
#set($rootdoc=$xwiki.getDocument("HOL.WebHome"))
#foreach($subpage in $services.query.xwql("where doc.space like '${rootdoc.space}.%' order by doc.space").execute())
#set($thispage=$xwiki.getDocument($subpage))
#foreach($attachment in $thispage.getAttachmentList())
#set($attFileName=$attachment.getFilename())
#if($attFileName.endsWith(".pdf"))
* $thispage.space [[$attFileName>>attach:$attFileName]]
#end
#end
#end
{{/velocity}}
#set($rootdoc=$xwiki.getDocument("HOL.WebHome"))
#foreach($subpage in $services.query.xwql("where doc.space like '${rootdoc.space}.%' order by doc.space").execute())
#set($thispage=$xwiki.getDocument($subpage))
#foreach($attachment in $thispage.getAttachmentList())
#set($attFileName=$attachment.getFilename())
#if($attFileName.endsWith(".pdf"))
* $thispage.space [[$attFileName>>attach:$attFileName]]
#end
#end
#end
{{/velocity}}