Forum Discussion
Using Highlighted content which shows documents from "All sites in the hub" is not showing anything
The “all sites in the hub” scope one only works with sites that are directly associated to the hub, not with hubs associated to the hub. Do each of these sites need to be hubs? While search will find content in “nested” hubs, the scope you are using for highlighted content will not include all the “nested” hubs. If you only need 4 sites, you could try de-registering the sites other than your MainGroup as a hub and instead, associate the other sites directly to the main hub. In that scenario, your scope should work.
SusanHanley I do not want to show documents from nested hubs, i want to show the documents from the 3 sites; Finance, Operations & Sales sites which are directly linked to the MainGroup hub inside the highlighted content web part on the MainGroup home page..
- SusanHanleyJan 03, 2024MVP
I think the issue may be that these sites are also hubs. I am surprised that you were even able to do that! I didn’t think it was supported. Does the main site have to be a hub? Could you use an “all sites in the tenant” scope? Uiu may want to de-register the three sites as hubs and try your query again.
- johnjohn-PeterJan 03, 2024Iron Contributor
SusanHanley me too i were surprised till lat week, this was not supported last year, but as if today you can link a hub site with another hub.. so what do you suggest? and yes the MainGroup has to be a hub so the child site share the same look and feel..
- SusanHanleyJan 03, 2024MVP
I would suggest re-thinking your IA. You can share the same look and feel in other ways and you can share navigation with global navigation. I often find that it is not necessary to make your home site a hub. If you need a specific search scope, you can also try creating a custom search experience with PnP search.