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

In a SharePoint publishing site, what do I need to include in my layout file to make it render the Reusable HTML from a specific item in the Reusable Content list?

share|improve this question

3 Answers 3

In the root of your site collection there is a list called Reusable Content that is used to capture reusable html. If you're editing a masterpage using designer then there isn't a simple >> Insert this reusable text capability.

Instead, insert a dataview pointing to the specific item in the list and including only the Reusable Html field.

share|improve this answer

Reusable content can be used only one the Publishing page. So custom layout has to include the HTML Publishing content type.

Also pay attention that there's a bug in SP 2010 (On the current time it still exists): If you place a web part within the Page Content control where Reusable content is stored, the last one will turn into the 'a'. Check this question Reusable content disappearing on Publishing Page

share|improve this answer

Apologies for using an answer for a comment, but I just joined and don't think I can comment yet.

I managed to get my Resuable Content into a page layout in conjunction with this post... http://www.sharepointoverflow.com/questions/3494/get-reusablehtml-from-reusable-content-via-content-query-webpart

But my Resuable Content is HTML and when it renders it is the source of the HTML, not the parsed HTML. Is this possible? This post suggests not ... http://www.sharepointoverflow.com/questions/7434/reusable-content-does-not-accept-some-html-tags

share|improve this answer

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.