Skip to main content

SharePoint Reusable Content

I can pretty much say I know my way around SharePoint… But every once in a while you learn about a feature that you never knew was there… Most of the time its those annoying bugs that we call “features” but are true head against the wall things that make you go hmmmm… But this time its a good thing…

I was tasked with finding a way to create a header and footer for a publishing site. This header and footer would be consistent across all pages within the content area of the site. My First thought was ok I need a custom page layout, but this would not work since it needs to be easily updated via the SharePoint Interface.

So after some investigation I found out that SharePoint has a built in feature called “Reusable Content”

Basically all you need to do is simply edit the page of your publishing site and click on a content editor control. If you look at the image below there is a icon next to the image icon.

image The icon is not very obvious hence the reason why I never noticed it before… But if you click on this button you get the following list.

image

This is basically a list of all the reusable content that resides within that site collection.

If you don’t see what you like you can simply open up the list via the “Open List” button on the toolbar.

From that list you can now create either Reusable HTML or Text.

image 

New Reusable HTML form:

image

Once you have edited your content and choosen it from the list you will see the Reusable content within a grey boxed in area within the content.

image

So, how many other people out there never knew this feature was there? Am I the only one? Leave a comment with your experiences.

Comments

Khushi said…
Hey Erik,

I didn't know about this before. To give the same header and footer to all the pages of the site, I did cutomise the master page. Please correct me if I have any misunderstanding about what you were saying in this post and what I did.

Thanks & Regards
Khushi
Erik Swenson said…
There is no customization to either the Masterpage or the Page Layout to get this to work.

There is however a manual effort for the page author to click on that reusable content for every page that they want that header to be included.

The nice part that I did not include in this blog post is that if the header content is updated in the central list it will automatically update on all pages that reference it.
vynsane said…
i'm not clear why you wouldn't want to use a separate page layout for this - that way the header and footer would be automatically injected as opposed to needing to add them every time you wanted to publish a page with those features.

if the benefit is the instant updatability through leveraging the reusable content list, you can have your cake and eat it to: simply (or, not so simply, really) create a page layout that automatically grabs your reusable content! i outlined the procedure on my forum.
Its really interesting that we can reuse share Point content.

- J.
Web Designing
Olga said…
but it not solve problem with menegment of master page data(when you need to have one header, footer for all site).
but it helps with pages, page layouts part (when you have field-then you can use this)...
so this functionality doesn't covers all issues.

And i see more betetr way to do it-
trough "Resource files"
then content will be different per "language" too.
with reusable content you need to do "extra" steps to implemnet multylanguage content...
Anatoliy
Sybo said…
This comment has been removed by the author.
Web Solutions said…
HI

Nice information to share us and this information is help for web designers, whose can get better information about some more Web Solutions.
Janice Thorne said…
I knew about this feature, but could never get a clear picture of how to use it. This is awesome - very thorough. Thanks so much!
SEO Services said…
Really nice blog, very informative. Thanks dude for wonderful posting. Keep it up in the future as well. SEO Services UK
Nice information, many thanks to the author. It is incomprehensible to me now, but in general, the usefulness and significance is overwhelming. Thanks again and good luck! Web Design Company
Gadgets UK said…
This is a GREAT post! I hope you not mind.I published an excerpt on the site and linked back to your own blog for people to read the full version. Thanks for your advice.
Thanks for this post. It Very nice article. It was a very good article. I like it. Thanks for sharing knowledge. Ask you to share good article again.

Kiosk Manufacturers
This is a good common sense article. Very helpful to one who is just finding the resources about this part. It will certainly help educate me.
Interesting and important information. It is really beneficial for us. Thanks
Thank you, thats very interesting information. I need to share with my friends.
maneesh said…
This comment has been removed by the author.
Interesting layout on your blog. I really enjoyed reading it and also I will be back to read more in the future.
I just wanted to add a comment here to mention thanks for you very nice ideas. Blogs are troublesome to run and time consuming thus I appreciate when I see well written material. Your time isn’t going to waste with your posts. Thanks so much and stick with it No doubt you will definitely reach your goals! have a great day!
Thanks for this post. It Very nice Blog. It was a very good Blog. I like it. Thanks for sharing knowledge. Ask you to share good Blog again.
Anonymous said…
Anyone experiencing an issue where after you insert a Reusable Content, save & close. Then when you Edit it again, the Reusable Content is gone?? It is replaced by one character, 'a'?
Pantyhose said…
This is a good common sense Blog. Very helpful to one who is just finding the resources about this part. It will certainly help educate me.
Thank you, thats very interesting information. I need to share with my friends.
Anonymous said…
Hi, very nice post.
I think the only down part of the "Reusable Content" is that you can not use it with content editor webpart which is actually used often through out a publishing site.
Thank you to tell us so much useful information. So nice sharing. I’m glad to read it.
This is a good common sense Blog. Very helpful to one who is just finding the resources about this part. It will certainly help educate me.
This blog is awesome full of useful information that i was in dire need of.
I just couldn’t leave your website before telling you that we really enjoyed the quality information you offer to your visitors… Will be back often to check up on new posts.
Interesting layout on your blog. I really enjoyed reading it and also I will be back to read more in the future.
maneesh said…
This comment has been removed by the author.
rocky case said…
Really your blog is very interesting.... it contains great and unique information. I enjoyed to visiting your blog. It's just amazing.... Thanks very much for the share.
Is it possible to create a page template with header, footer and page layout using reusable content

Popular posts from this blog

SharePoint 2010 Base CSS Classes

This will be the first of many SharePoint 2010 posts. I will be focusing on a few of the main CSS classes used for SharePoint 2010 Public Beta. As the product becomes more final there might be some changes to the class names but I will be sure to create a new post if that happens. This will be quite a lengthy but it should be helpful. The default CSS given below are just highlights of the full CSS attributes for that class.I will be using a basic team site as my base for the screenshots. Here is a basic structure of the main areas that I will cover.Ribbon RowTable Row Left Site Actions Navigate Up Edit Tab List Browse Page Table Row Right Give Feedback Welcome Menu WorkspaceBody Container Title Row Title Title Logo Title Text / BreadcrumbPage DescriptionSocial Data SeparatorI like It Tags/Notes Top Header 2/Top Links li Static-Selected li Static SearchHelpStatus Bar Container Main A…

How To: Hide Left Side Navigation on Home Page

I was recently asked: "How can I hide the side nav bar on the main homepage layout ?? I want to be able to use the side NAV with in the team site etc etc, but I don't want it on the front page.. " There are a couple of ways to do this in SharePoint 2010. If you are using a non-publishing site you can add a Content Editor Web Part to the page and add the following to the HTML Source.
<Style>
body #s4-leftpanel
{
display: none;
}
.s4-ca
{
margin-left: 0px;
}
</style>
Basically the CSS above hides the left navigation Div, and then sets the content area to not have a left margin. Once you are done, simply modify the web part and hide it on the page. If you are using a publishing site for your homepage simply add the same styles specified above to a custom page layout. That way if you have a need for other pages that do not need the left side navigation you can re-use the page layout.

Small Calendar for SharePoint 2010 & 2013

First off I would like to apologize for the lack of posts. I have been really busy with my new role as the UX Design lead within Slalom Consulting Boston. I will share more about that in another post. In a previous post Create Really Small Calendar I showcased how to do this for SharePoint 2007. However the 2010 and 2013 calendar views have changed and therefore we cannot use the same method or CSS as 2007.SharePoint 2010 Small Calendar:
SharePoint 2013 Small Calendar:
See video below for a video walk through on how to create a small calendar for SharePoint 2010 and & SharePoint 2013 with just CSS.Per the video above here is the code that I referenced:2010 CSS link reference in Master Page:
<SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/smallcalendar.css %>" After="corev4.css" runat="server"/>2010 CSS:
/**** Small Calendar ***/
.ms-acal-item{height: 10px !important;}
.ms-acal-sdiv,
.ms-acal-mdiv,
.ms-…