Bill Baer /bɛːr/

Skip to main content

Banner

 
Bill Baer /bɛːr/
Bill Baer is a Senior Product Manager for Microsoft 365 at Microsoft in Redmond, Washington.

Master Page Example

Master Page Example

Master Page Example

  Code Samples

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 “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.

| | Permalink to this article
Fingerprint for this article2eac0905280864018f2b502f3829ab3e
 
 

Comments

 
 
Skip to footer

Social Links