Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have an Enterprise Wiki site collection and it have 5 sub sites, currently I have implemented a Web Part which extended the page layout. But I am facing this:-

  1. To apply the page layout I have to add the web part 6 times ( 1 for the main site and 5 times for each sub site). So my question is if I can apply the Web Part once to the main site and have the effect on all the sub sites.

enter image description here

share|improve this question
1  
You could "Save as template" on a site which has the extending webpart on it and use that template to create new subsites which would automatically have it inserted upon creation. This is only possible if your site is not a Publishing site. –  Daniel Ziga May 29 '13 at 10:32
    
my site is a publishing site and all th site are based on the Enterprise Wiki template. –  John Peter May 29 '13 at 10:41
1  
Another option would be to develop a site template which has the webpart on its default.aspx page. Is that an option for you? –  Daniel Ziga May 29 '13 at 10:47
    
well i did not develop a site template before,, may i need to check how to do it before, and for now i can live with the fact that i have to add the web part for each subsite separately..? –  John Peter May 29 '13 at 11:27
add comment

1 Answer

Create a new page layout based on the Enterprise wiki but including your web part. This page layout can then be used by all your Enterprise wiki sub-sites. The simplest way is probably to copy the existing Enterprise wiki page layout in the first instance. You will need to use something like SharePoint Designer to achieve this.

share|improve this answer
1  
To elaborate a bit more on this, do some research on the Design Manager. One of the greatest benefits to page layouts in 2013 is the ability to add Snippets, which include web parts. Simply include the web part in the page layout and then assign the page layout to each page you want to have that new page layout. –  EHorodyski May 29 '13 at 12:50
    
i navigate to the "Design Manager---> Edit Page Layouts". But the enterprisewiki.aspx page was not listed there ? –  John Peter May 29 '13 at 14:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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