My Site Master Page Change Feature Stapling

I followed blow blog to create the stapling solution.

<?xml version="1.0" encoding="utf-8"?>
<Module Name="Module1" List="116" Url="_catalogs/masterpage">
<File Path="Module1\Test.master" Url="Test.master" />
The URL attribute in the module node specifies where the file will be pushed on your SharePoint server.

Even though the feature activated well when creating my site (it means stapling works^^) but the master page wasn’t changed..


Because I used websitetemplate name “SPSMSITEHOST#0” not “SPSPERS#2” .

When I use Get-SPWebTemplate on power shell it shows like this :
SPSPERS#0            SharePoint Portal Server Personal Space
SPSPERS#2            Storage And Social SharePoint Portal …
SPSMSITEHOST#0       My Site Host

Actually I don’t know the differrences, so just use all of them. (Djavan said SPSPERS#0 is used in SharePoint 2010 and SPSPERS#2 is used in SharePoint 2013 in his blog)


Leave a Reply

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

You are commenting using your 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

%d bloggers like this: