How to Create a Modern SharePoint Wiki Knowledge Base

Last Updated on December 31, 2022

Are you looking for a way to create a modern wiki knowledge base with SharePoint? If so, you’re not alone.

Right from the start, SharePoint already has a way for users to create a wiki with the use of the wiki page library web part.

But since the introduction of modern pages, you can now create a modern wiki quite easily (with all the benefits of the modern experience).

In this article, I’ll show you how you can easily create a modern wiki knowledge base in SharePoint.

Follow these steps:

1. Organize your knowledge base wiki on the site pages library

For the knowledge base wiki, let’s use the site pages library, a place that stores all the pages in your SharePoint site.

To get started, go to the site contents page first through any of these methods:

Click on the gear icon in the upper-right corner of the page. Then, click on the “Site contents” option.

Click on the gear icon first and select the site contents option

You can also click on the “Site contents” link on the quick launcher bar of your site (found on the left corner for team sites and on the top corner for communication sites).

Click site contents from the quick launcher space

Once you can see all the site contents, open the “Site Pages” folder.

Click on the site pages library on the site contents page

The site pages library, like a list, has rows (with the page as the main item) and columns (for metadata).

The next step you need to do here is to create metadata columns to organize your knowledge base wiki.

To do so, click on the “Add column” button and click on the column type you want to add to the library.

For example, I want to add a choice column where the publisher can choose the product the wiki article is talking about.

Click on the add column button first and click on the column type you want to add

Customize the column you want to add.

Customize the choice column to add to the site pages

Since this is an example knowledge base wiki only, I’ll only be adding two new columns to the library. I also rearranged the columns and hid the other ones I don’t want to show.

Note: For creating an enterprise wiki, check out this guide: SharePoint Enterprise Wiki Guide: Classic to Modern Sites.

Do the same to your own knowledge base wiki too. Add all the metadata columns you want to so you only have less work in the future.

Two new columns added to the knowledge base site pages library

Sign up for exclusive updates, tips, and strategies

    2. Create the wiki page template

    Creating a page template for your knowledge base wiki articles is the best way to go.

    You would be able to save time by using a template instead of creating a new page each time. Using a template also makes sense since all your wiki pages look the same.

    To get started, click on the “New” button and select “Site Page”.

    Yes, there is an option for a wiki page but since we want to create a knowledge base wiki that makes use of the modern experience, we will use the site page option.

    Click on the new button and then select the site page option

    The next step is to modify your page template.

    For example, you can name it first and then change the layout. Personally, I wanted the wiki pages to look clean and make the page properties visible too.

    So what I did is I added a one-third right section — the left part will contain the content and the right part will be for the page properties.

    The wiki page template with a one-third right section layout

    Feel free to copy this layout or design your own.

    For the next step, I will add the page properties web part into the right section as you can see from the screenshot below:

    Click on the add button on the section and search and click on the web part you want to add

    After adding the page properties web part, you will see an “Add” button.

    When you click on it, you will be able to add properties to tag the wiki template with metadata from the columns you added earlier (which is the idea).

    Choose the properties to display on your page

    Right now, it’s still empty. But later on, when you add new page templates, you can tag the wiki pages.

    Finally, to save the page as a template, click on the save dropdown button and click on the “Save as template” option.

    Click on the dropdown button and then on the save as template option

    3. Create wiki pages for your knowledge base

    When you go back to the site pages library, you will now see the template page you created.

    To start creating a new wiki page, open the template page. When you click on the “New” button above, you will see an option to create a “Copy of this page”.

    Click on it.

    Click on the new button and then on the copy of this page option

    Now, fill out the page with content. Don’t forget to add a title to your page too.

    You can then tag the page with the correct properties by clicking on the “Page details” button.

    Click on the page details button and configure the properties

    You can also add a featured image to your page. Hover your mouse over the cover image part and click on the image icon.

    Hover your mouse on the image part and click on the change image button

    Then, select the source of the image. In my example, I used a stock image and searched for a keyword.

    Once you select an image, click on the “Insert” button in the lower-right corner.

    Searching and inserting a stock image to a wiki page

    Once you’re done customizing the page, click on the “Publish” button.

    Click on the publish button

    Note that you can also add the properties in the site pages library without opening a page. Simply select the page and click on the info button.

    You can then edit the properties in the right panel.

    Click on the info button and change the properties from the right panel

    4. Create a new view for the library

    Your site pages library might look a little messy especially if you have a lot of metadata columns.

    This is why creating a new view with filters and sorting is a good practice.

    For example, let’s say I only want to show all the wiki pages that were published by me. I can then click on the “Publisher” column header and on the “Filter by” option.

    The system will then show me some filter options.

    Click on the column header and select the filter by option

    You can also sort the order of the pages according to how you like them.

    For example, I can sort the pages by product alphabetically by clicking on the “Product” column header and selecting the “A to Z” option.

    Click on the column header and select the sorting order you prefer

    Note that you can also pin the filter to the right panel. There’s an option for it under the column settings option.

    Pin column to the filters pane on the right

    Once you get the preferred view, you can save it so you don’t have to reapply the settings every time you get to the site pages library (and for your users, too).

    Click on the view button and select the “Save view as” option from the dropdown.

    Click on the view button and select the save view as option

    Give the new view a name. You can also enable this view to be a public view (so it’s available for your users to use).

    Save new wiki page as public view

    You can then set the new view as the default one. Click back on the view button and this time, select the “Set current view as default” option.

    Set the current view as default

    5. Create the main wiki page for your knowledge base

    If you have followed everything up to this point, then you’re almost done. But first, you need to build the wiki page so users can navigate through the pages.

    Well, technically, what you need to do is add a web part to the home page so users don’t have to go to site contents and then to the site pages library.

    Go back to the homepage of your site and click on the “Edit” button.

    Click on the edit button on the home page of your site

    On the section you prefer, add a “Document library” web part (make a search for it).

    Click on document library from the web parts search results

    Then, configure it. Make sure it points to the site pages library. You can also select the view you prefer and some of the other options.

    For example, on my site, it looks like this:

    Configure the document library web part on your home page

    If you want to add more powerful functionality, you can also add a highlighted content web part.

    What this web part does is collect and show pages with the keywords or information you provided (even search results from a keyword).

    Find and click on the highlighted content web part

    For example, what I did is show all the wiki articles from the site pages library tagged with “SharePoint” on its “Product” properties.

    This is only an example. You can design your own highlighted custom based on a filter or a custom query.

    Highlighted content web part based on SharePoint wiki pages

    After that, you’re now done.

    Though of course, you can always make further customizations on the home page especially if the sole purpose of the site is for a knowledge base wiki.

    Build your own modern SharePoint wiki knowledge base

    As you have seen, it’s not really that complicated anymore to create your own modern SharePoint wiki knowledge base.

    In fact, if you already have all the wiki pages you want to add, you can finish your own knowledge base wiki in under an hour.

    Structuring it is easy because of the modern experience in SharePoint. You’re basically using the modern features available.

    Do you have questions about creating a modern wiki in SharePoint? If so, drop them down in the comment section.

    For inquiries and concerns, reach out to me through my contact page and I’ll get back to you as soon as possible.

    About Ryan Clark

    As the Chief Solutions Architect at Mr. SharePoint, I help companies of all sizes better leverage Modern Workplace and Digital Process Automation investments. I am also a Microsoft Most Valued Professional (MVP) for M365 Apps & Services.