Forum Discussion
Is there a way to show a list of associated sites to a hub site, without using top navigation bar?
- Oct 13, 2019Use the sites web part and show all sites in the hub. It applies security trimming so only shows sites you have access to. Definetly test this before you go live. If it does show other sites, check if that user can navigate.
- ErkanChFeb 10, 2020Copper Contributor
Alan Marshall Miguel_B_M We're using the Sites web part to display the associated sites of a hub. However, it doesn't always display all the associated sites. I double checked the permissions. Even the sites where the end user is a site collection admin or a site owner doe't show up in the list. So, it's not a security trimming issue. Have you experienced a similar behavior?
I wonder if this web part is using search. Even after a couple of days, the results are the same. It shouldn't take more than that to update the search index.
- Miguel_B_MFeb 10, 2020Copper ContributorI experienced that issue indeed. But the site appeared in the list after some -many- minutes or one hour, not a day.
- ErkanChFeb 10, 2020Copper Contributor
Miguel_B_M It's been 3 days!
- Miguel_B_MOct 14, 2019Copper Contributor
Alan Marshall, thank you very much. Your solution is really elegant.
My steps to check the privacy were:
- I edited the hub by adding the web part "Sites" as you suggested. I selected the option to show only the associated sites.
- I created an Office 365 group from Outlook, including an external guest (Dummy Gmail account), and after activating the Sharepoint site I associated it to the hub site. It automatically appears in the list of sites (Step 1 above) alongside the other associated sites.
- By reacting to the invitation email as a guest, I created the MS account and I was able to access the site.
Minor issues found:
- (Solved) The link to the hub site is appearing at the top navigation bar. If the guest tries to enter, the usual "Request access " form is shown. This would lead to a number of undesired requests from clients team members. Solution: Go to the hub site settings, and choose not to allow requests to access. The guest is therefore shown a plain page "Denied access".
- (Not related to my original question) The link to Sharepoint site included in the invitation email does point to the Documents section, and not to the site home. Wonder why.
Now evevybody in the sales team can create a working group with the client and organise the site in the hub. NOTE: To allow the sites to be associated to the hub by any colleague, whenever creating the hub, the option of who's associating sites to the hub must be left blank.
Thanks again Alan.