Home > Sample chapters

Working with Web Pages in Microsoft SharePoint Foundation 2010

Adding Links

In the previous section, you created a forward link to a page yet to be created by enclosing the name of the page in double square brackets on the edit form. In the following exercise, you will create a link to a page and have the link display text that is different from the page name. You will then use the Incoming Links feature to identify those pages that link to a wiki page before you delete the page.

In this exercise, you will add a forward link.

  1. On the Quick Launch, under Libraries, click Site Page, and then, in the Name column, click Home. The home page of the Team site appears.

  2. Click the Edit icon that is displayed to the left of the Browse tab.

    httpatomoreillycomsourcemspimages1755489.jpg
  3. Place the cursor on a new line below WideWorldImporters. Type [[s, and then press TAB to select Seating, and then type | Seating Furniture]].

  4. Click Close & Save.

    The words “Seating Furniture” are not underlined with dashes; therefore, this forward link points to the existing Seating page that you created in the previous exercise.

  5. Click Seating Furniture. The Seating page is displayed.

  6. Click the Page tab, and then click Incoming Links in the Page Actions group. The pages that link to the Seating page are listed; the home page is the only one listed here.

    httpatomoreillycomsourcemspimages1755491.jpg
    httpatomoreillycomsourcemspimages1755493.jpg
  7. Click Home, and then click the Edit icon that is displayed to the left of the Browse tab.

  8. In the content area, select [[Seating|Seating Furniture]], press DELETE, and then click Save & Close.

  9. On the Quick Launch, under Libraries, click Site Pages, and then click Seating.

  10. Click the Page tab, and then click Delete Page in the Manage group.

    httpatomoreillycomsourcemspimages1755495.jpg
    httpatomoreillycomsourcemspimages1755497.jpg
  11. Click OK to send the page to the Recycle Bin.