0

We have created a masterpage by editing the seattle.master. It is applied to the present site.

We want to apply this master page for all sites present in the web application.

Also, whenever we create a new site collection or new site, it should inherit this masterpage. Is this possible in SharePoint 2013?

2
  • Are you creating the site collection from custom site definition or using the OOB site definition? Mar 27, 2014 at 11:49
  • Right now using the SP2013 designer we have edited the file. But are open to any possible solution
    – variable
    Mar 27, 2014 at 11:50

1 Answer 1

1

You will need to use feature stapling to apply master page to newly created site collections.

Feature Stapling has two features. A "Stapler" feature which staples another feature to the site definition and the "Staplee" feature which will be stapled

See more at http://www.mssharepointtips.com/tip.asp?id=1065 http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/01/11/feature-stapling-in-sharepoint-2010.aspx

However, you may need to write a console app or PowerShell script to update already existing sites.

12
  • Presently when we use designer to edit masterpage, we are only updating the root site's masterpage and not the site collection, right? I say this because, when we create a new site subsite then it doesnot inherit the same edited masterpage
    – variable
    Mar 27, 2014 at 11:58
  • How are you changing the master page of the site collection? Mar 27, 2014 at 12:05
  • Do you mean root site of sitecolelction? How can you apply masterpage to sitecollection?
    – variable
    Mar 27, 2014 at 12:06
  • Yes the root site. If it is a publishing site then there is option to "Reset all subsites to inherit this site master page setting" when you try to change the master page in UI Mar 27, 2014 at 12:09
  • Can we get this options by enabling any feature on team site ?
    – variable
    Mar 27, 2014 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.