08.08.2017 Views

designer

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Resetting a Master Page to the Site Definition 397<br />

In this exercise, you reset a customized master page to the site definition and see that<br />

your modifications are lost.<br />

SET UP Using SharePoint Designer; open the team site you used in the previous<br />

exercise if it is not already open.<br />

1. In the Navigation pane, click Master Pages. In the workspace, right-click v4-test.<br />

master, and then click Reset to Site Definition.<br />

Troubleshooting If the Reset To Site Definition command is not active, be sure that v4-<br />

test.master is checked in.<br />

2. When the Site Definition Page Warning dialog box opens, click Yes.<br />

In the gallery page in the workspace, the blue information circle to the left of v4-test.<br />

master disappears, and v4-test_copy(1).master appears with a blue information circle.<br />

3. Double-click the icon to the left of v4-test.master to open the master page in the<br />

workspace.<br />

4. Scroll to the bottom of the page, and notice that the Data View you added in an<br />

earlier exercise has disappeared.<br />

5. In the Navigation pane, click Site Pages, and then double-click Test-Page.aspx<br />

to open it in the workspace. Click Yes to confirm that you want to open the page in<br />

advanced edit mode.<br />

A master page error message appears because the content placeholder,<br />

PlaceHolderFooter, whose contents you customized in an earlier exercise, no longer<br />

exists on the master page.<br />

CLEAN UP Close all the open pages and document windows. If you are not<br />

continuing to the next chapter, close SharePoint Designer.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!