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?

  • Are you creating the site collection from custom site definition or using the OOB site definition? – Nadeem Yousuf Mar 27 '14 at 11:49
  • Right now using the SP2013 designer we have edited the file. But are open to any possible solution – variable Mar 27 '14 at 11:50
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.

  • 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 '14 at 11:58
  • How are you changing the master page of the site collection? – Nadeem Yousuf Mar 27 '14 at 12:05
  • Do you mean root site of sitecolelction? How can you apply masterpage to sitecollection? – variable Mar 27 '14 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 – Nadeem Yousuf Mar 27 '14 at 12:09
  • Can we get this options by enabling any feature on team site ? – variable Mar 27 '14 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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