Uncategorized

Master Page Example

I used the sample master pages at http://office.microsoft.com/en-us/sharepointdesigner/HA102223711033.aspx in several Feature Stapling/Receiver demonstrations over the past year and was asked if I could provide the solution package I compiled using the Clarity master page (see image) in conjunction with a Feature Receiver to update the master page on both site collections and Webs.  I’ve finally gotten around to uploading the .wsp, so for those interested it can be downloaded here.

Usage:

Copy the Clarity Master Page.wsp to a location on a Web front-end computer.

Open a Command Prompt and change directories to %commonprogramfiles%Microsoft SharedWeb Server Extensions12BIN.

Run STSADM -o addsolution -filename "<path>Clarity Master Page.wsp" and wait for the operation to complete.

Run STSADM -o deploysolution -name "Clarity Master Page.wsp" -immediate -force -allowGacDeployment and wait for the operation to complete.

Run STSADM -o execadmsvcjobs and wait for the operation to complete.

NOTE Existing site collections will not be affected and can be modified either through SPD or the SharePoint UI.

Newly created site collections and Webs will receive the Clarity master page.

Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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