Jan 12 2023 01:28 PM
Hi, I have created an Advanced Search page with PnP verticals that I would like to search individual hubs and their associated sites. For example my verticals are as follows:
All Hubs, Knowledge Hub&Associated Sites, Communities Hub, Colleague Hub
The Knowledge Hub is the only one that has 30 plus associated sites and I would like to enter some query text in for the Knowledge Hub results to return results for that hub and all 30 sites.
Does anyone know what the query looks like for this?
I thought it was would be this: {searchTerms} RelatedHubSites:{Hub.Id} but this only works on the hub where the search page has been developed, I am hoping there is away to look across another Hub in a separate site collection?
Thanks
Feb 02 2023 12:33 PM
Solution@Team_Halls You can specify any Hub Site's GUID, something like this:
`{searchTerms} RelatedHubSites:d63d74d9-dfb7-46ce-8f04-c1d6d674075c`
Feb 06 2023 02:59 AM
May 03 2023 09:11 AM
Jul 11 2023 01:33 AM
Jul 11 2023 01:35 AM
Feb 02 2023 12:33 PM
Solution@Team_Halls You can specify any Hub Site's GUID, something like this:
`{searchTerms} RelatedHubSites:d63d74d9-dfb7-46ce-8f04-c1d6d674075c`