Start a conversation

Page with a Site Directory Web Part shows "Could Not Load the Site Directory" Error

Overview

You have configured a new Site Directory Web Part and are getting an error "Could not load the Site Directory. Check that the Site Directory feature is enabled" when loading the page. You confirmed that you enabled the feature, and you have configured this Web Part on another page and are not experiencing these issues.

Reviewing the Network tab of the Development Console of your browser or an inspection of a HAR file capturing the behavior may reveal another error: "List 'Favourite Sites' does not exist at site with URL..."

 

 

Solution

This error appears most often when there is a misconfiguration within the Site Directory list. The steps below will guide you through reviewing the most common places where you must make changes to correct this error.

Correcting a missing or invalid Site Category column

  1. Navigate to Settings Cog > Site Contents.
  2. Click on the ellipses (3 dots) for the Site Directory list, then click Settings.
  3. In the Columns section, check if the Site Category column is already there.
    1. If the column exists:
      1. Hover over the link and verify that it references Field=OwlSiteDirectorySiteCategory as shown below:

        mceclip1.png

      2. If the column does not correctly reference this field:
        1. Select Site Category to open the Edit Column pane.
        2. At the bottom, select Delete.
    2. If the field does not exist or was removed in the previous step:
      1. Click on Create Column.
      2. Name it OwlSiteDirectorySiteCategory, choose Lookup as the column type, and click OK.



      3. Click on the newly created OwlSiteDirectorySiteCategory column.
      4. Rename the column to Site Category and click OK.



    3. The new column's link, when hovered over, should now correctly reference Field=OwlSiteDirectorySiteCategory.

 

Correcting a missing or invalid Site Owners column

  1. In the Columns section, check if the Site Owner(s) column is already there.
  2. If the column exists:
    1. Hover over the link and verify that it references Field=OwlSiteDirectorySiteOwner as shown below:
      mceclip0.png
    2. If the column does not correctly reference this field:
      1. Select Site Owner(s) to open the Edit Column pane.
      2. At the bottom, select Delete.
  3. If the field does not exist or was removed in the previous step:
    1. Click on Create Column.
    2. Name it OwlSiteDirectorySiteOwner, choose Person or Group as the column type, and click OK.

      mceclip2.png

    3. Click on the newly created OwlSiteDirectorySiteOwner column.
    4. Rename the column to Site Owner(s) and click OK.

      mceclip3.png

  4. The new column's link, when hovered over, should now correctly reference Field=OwlSiteDirectorySiteOwner.

Copying the Favourite Sites list from your working site

By default, activating the Bonzai Site Directory feature will add the Favourite Sites list to your site. If this List is removed in error, it can result in the errors seen within the Development Console or HAR captures.

Note: The steps below will detail how to copy the Favourite Sites list from your working site. While this is the most common List to be affected by this trouble, you can complete the steps below for the affected List instead if the error references another list.

  1. Access your working site where the Favourite Sites list is present.
  2. Navigate to Settings Cog > Site Contents.
  3. Click on the ellipses (3 dots) for the Favourite Sites list, then click Settings.
  4. Within the Permissions and Management section, Select Save List as Template.

    mceclip4.png

  5. Adjust your Desired Template Settings.
    1. Set the File Name and Template Name at a minimum.
    2. If you want to copy the content within the List, you can check the "Include Content" checkbox.

      mceclip5.png

    3. Click OK to save the Template.
  6. Access the affected Site with the missing List.
  7. Navigate to Settings Cog > Site Contents.
  8. Click Add an App.
  9. Within the "Apps you can Add" section, select your newly created Template.

    mceclip6.png

  10. Name the new List as "Favourite Sites."
  11. Click Create.

 

Testing

After verifying the details above, navigate to the page where your Site Directory Web Part was added and confirm that you no longer receive the error.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments