Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

sitemap - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Changes for page sitemap

Last modified by bougault on 2023/09/15 15:50

From version 5.2
edited by bougault
on 2023/09/15 09:14
Change comment: There is no comment for this version
To version 13.1
edited by bougault
on 2023/09/15 09:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,12 @@
1 1  {{velocity}}
2 -#set($hql = "where doc.space='Collabs*' order by doc.date asc")
3 -#set($results = $xwiki.searchDocuments($hql, 0, 0))
4 -#foreach ($item in $results)
5 - * $item
6 -#end
2 +##set ($spaceReferenceString = 'Collabs')
3 +##set ($query = $services.query.xwql("from doc.object(Apps.Collab.Code.CollabClass) as obj where doc.space like :space"))
4 +##set ($query = $query.bindValue('space').literal("${spaceReferenceString}.").anyChars().query())
5 +##$query.execute()
6 +
7 +##set ($spaceReferenceString = 'Collabs')
8 +#set ($query = $services.query.xwql("from doc.object(Apps.Collab.Code.CollabClass)"))
9 +##set ($query = $query.bindValue('space').literal("${spaceReferenceString}.").anyChars().query())
10 +$query.execute()
11 +
7 7  {{/velocity}}