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.

Context Search - HBP Wiki

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


Changes for page Context Search

Last modified by bougault on 2023/02/20 16:29

From version 32.1
edited by bougault
on 2023/02/16 14:16
Change comment: There is no comment for this version
To version 32.2
edited by bougault
on 2023/02/20 09:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,15 @@
1 +{{velocity output="no"}}
2 +#set ($docRef = $doc.documentReference)
3 +#set ($collabName = "")
4 +#if($services.collabService.getCollabRootDoc($docRef))
5 + #set ($collabName = $services.collabService.getCollabName($docRef))
6 +#end
7 +{{/velocity}}
8 +
1 1  {{html clean="false"}}
2 2  
3 3  <button id="mount-search-app"><i class="fa fa-search" aria-hidden="true"></i></button>
4 -<div id="root"></div>
12 +<div id="root" collabname="$collabName"></div>
5 5   <script type="module" src="http://localhost:3000/src/apps/unified-search/unified-search.tsx"></script>
6 6  
7 7  {{/html}}