Monday, August 3, 2009

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.