Creating a table of contents

When I have a long page in SharePoint 2016, I like to add a summary table of contents at the top to enable visitors to quickly jump to the section they need. Unlike Confluence, there is no macro for doing this that I can find.

Once the page is populated with content, create the list at the top of the page that will become the contents. I usually limit it to the highest level headings.

Create the table of contents text

Highlight the first planned link on the list, and from the Insert menu, click Link and select From Address.

Select the first planned link and set the From Address

The Text to display will contain the text you highlighted. In the Address field, start with a hash/pound character (#) followed by the name you want for the anchor. The anchor itself will be created next. Click OK. The highlighted text will become a hyperlink.

Add the anchor address name

Next, highlight the heading or text that you want to anchor as the destination. From the Insert menu, click Link and select From Address again.

Creating the anchor

The Text to display will contain the text you highlighted. In the Address field, only insert the hash/pound character (#) and click OK.

Add # only for address

With the text still highlighted, on the ribbon, add the anchor name without the hash/pound character that you created in step X in the Bookmark field of the Link Properties.

Add the bookmark text to match

Save the page. You should now be able to click the link at the top and move directly to the anchor point.

What is your method or solution to link within a page?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.