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 9.1
edited by bougault
on 2023/09/15 09:17
Change comment: There is no comment for this version
To version 17.1
edited by bougault
on 2023/09/15 09:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,8 @@
1 1  {{velocity}}
2 -#set($hql = "where doc.space like Collabs")
3 -#set($results = $xwiki.searchDocuments($hql, 0, 0))
4 -$results
5 -#foreach ($item in $results)
6 - * $item
7 -#end
2 +#set ($spaceReferenceString = 'Collabs')
3 +#set ($query = $services.query.xwql("where doc.space like :space"))
4 +#set ($query = $query.bindValue('space').literal("${spaceReferenceString}.").anyChars().query())
5 +$query.execute()
6 +
7 +
8 8  {{/velocity}}